Files
English/sync_server/docker-compose.yml
T

20 lines
539 B
YAML

version: '3.8'
services:
speaksprout-sync:
build: .
container_name: speaksprout-sync
restart: always
environment:
- DATABASE_PATH=/data/speaksprout_sync.db
- JWT_SECRET=speaksprout-production-jwt-secret-key-replace-with-random-hex-2026
volumes:
- ./data:/data
ports:
- "127.0.0.1:8080:8080"
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/api/v1/health')"]
interval: 30s
timeout: 5s
retries: 3