participatory-planner / docker-compose.yml
thadillo
Initial commit: Participatory Planning Application
23654e5
raw
history blame contribute delete
491 Bytes
version: '3.8'
services:
web:
build: .
ports:
- "8000:8000"
volumes:
- ./instance:/app/instance # Persist database
- ./model_cache:/root/.cache/huggingface # Persist AI model
environment:
- FLASK_ENV=production
- FLASK_SECRET_KEY=${FLASK_SECRET_KEY}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/login"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s