Files
MarketingTool/docker-compose.yml
T

23 lines
545 B
YAML
Raw Normal View History

2026-09-02 17:38:50 +02:00
services:
2026-09-05 14:05:11 +02:00
app:
2026-09-02 17:38:50 +02:00
build:
2026-09-05 14:05:11 +02:00
context: .
dockerfile: api/Dockerfile
ports:
- "8000:8000"
- "8080:8000"
2026-09-02 17:38:50 +02:00
environment:
2026-09-05 14:05:11 +02:00
PROSPECT_DB: /data/prospects.db
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH: /usr/bin/chromium
2026-09-02 17:38:50 +02:00
volumes:
2026-09-05 14:05:11 +02:00
- prospect_data:/data
2026-09-02 17:38:50 +02:00
restart: unless-stopped
healthcheck:
2026-09-05 14:05:11 +02:00
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/health', timeout=2)"]
2026-09-02 17:38:50 +02:00
interval: 10s
timeout: 3s
retries: 5
volumes:
2026-09-05 14:05:11 +02:00
prospect_data: