feat: add boilerplate

This commit is contained in:
2026-10-26 21:56:23 +01:00
commit cc6675f7c6
29 changed files with 2231 additions and 0 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
services:
web:
build: .
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
ports:
- "8000:8000"
volumes:
- game-data:/app/data
env_file:
- .env
environment:
- DATABASE_URL=sqlite:////app/data/guesstheral.db
restart: unless-stopped
worker:
build: .
command: python -m app.worker
volumes:
- game-data:/app/data
env_file:
- .env
environment:
- DATABASE_URL=sqlite:////app/data/guesstheral.db
restart: unless-stopped
volumes:
game-data: