base
This commit is contained in:
20
docker-compose.override.yml
Normal file
20
docker-compose.override.yml
Normal 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
|
||||
Reference in New Issue
Block a user