This commit is contained in:
mike
2025-12-12 05:40:33 +01:00
parent 0eba1619cf
commit fb675746ee
12 changed files with 661 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
services:
app:
environment:
- LOG_LEVEL=DEBUG
- PYTHONPATH=/app
volumes:
- .:/app
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "8000:8000"
command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
postgres:
environment:
- POSTGRES_LOG_STATEMENT=all
ports:
- "5433:5432" # Different port to avoid conflict with host PostgreSQL
redis:
command: redis-server --appendonly yes --loglevel verbose