This commit is contained in:
urieljarethbusiness-cpu
2026-05-17 11:18:12 -06:00
parent 64b3d15b90
commit b964fcb2e6
8 changed files with 40 additions and 40 deletions
+12 -2
View File
@@ -8,11 +8,14 @@ services:
APP_DATA_DIR: /app/data
DATABASE_PATH: /app/data/app.db
MISTRAL_API_KEY: ${MISTRAL_API_KEY:-}
MISTRAL_OCR_MODEL: ${MISTRAL_OCR_MODEL:-mistral-ocr-latest}
DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY:-}
volumes:
- station-data:/app/data
expose:
- "8000"
ports:
- "8000"
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5)"]
@@ -34,10 +37,17 @@ services:
HOSTNAME: 0.0.0.0
expose:
- "3000"
ports:
- "3000"
depends_on:
backend:
condition: service_healthy
- backend
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:3000').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
station-data: