spectra/docker-compose.yml
Tanishq Dubey 9c1e6f0e94
All checks were successful
Docker Build and Publish / build (push) Successful in 7s
More frontend changes, ready for deploy
2024-11-05 19:25:52 -05:00

22 lines
532 B
YAML

version: '3.8'
services:
web:
image: git.dws.rip/dws/spectra:main
volumes:
- ./uploads:/app/uploads
- ./thumbnails:/app/thumbnails
- ./config.toml:/app/config.toml
- ./photos.db:/app/photos.db
- ./static:/app/static
environment:
- PYTHONUNBUFFERED=1
- FLASK_ENV=production
- WORKERS=4
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s