This commit is contained in:
HotSwapp
2025-10-06 20:28:00 -05:00
parent 216adcc1f6
commit 4dbc452b65
12 changed files with 169 additions and 51 deletions

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
version: "3.9"
services:
web:
build: .
container_name: delphicg-web
ports:
- "8000:8000"
environment:
- SECRET_KEY=${SECRET_KEY}
- DATABASE_URL=sqlite:///./delphi.db
volumes:
- ./data-import:/app/data-import
- ./delphi.db:/app/delphi.db
- ./old-csv:/app/old-csv:ro
- ./static/logo:/app/static/logo
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:8000/health || exit 1"]
interval: 30s
timeout: 3s
retries: 3