git mv all tracked files from the nested padelnomics/ workspace directory to the git repo root. Merged .gitignore files. No code changes — pure path rename. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
services:
|
|
app:
|
|
build: .
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
env_file: .env
|
|
environment:
|
|
- DATABASE_PATH=/app/data/app.db
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
worker:
|
|
build: .
|
|
restart: unless-stopped
|
|
command: python -m padelnomics.worker
|
|
volumes:
|
|
- ./data:/app/data
|
|
env_file: .env
|
|
environment:
|
|
- DATABASE_PATH=/app/data/app.db
|
|
depends_on:
|
|
- app
|
|
|
|
scheduler:
|
|
build: .
|
|
restart: unless-stopped
|
|
command: python -m padelnomics.worker scheduler
|
|
volumes:
|
|
- ./data:/app/data
|
|
env_file: .env
|
|
environment:
|
|
- DATABASE_PATH=/app/data/app.db
|
|
depends_on:
|
|
- app
|
|
|
|
# Optional: Litestream for backups
|
|
litestream:
|
|
image: litestream/litestream:latest
|
|
restart: unless-stopped
|
|
command: replicate -config /etc/litestream.yml
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./litestream.yml:/etc/litestream.yml:ro
|
|
depends_on:
|
|
- app
|
|
|
|
volumes:
|