Update docker-compose for better local development
This commit is contained in:
parent
b91f6f81f8
commit
cc9b951b05
1 changed files with 4 additions and 0 deletions
|
|
@ -34,8 +34,11 @@ services:
|
|||
|
||||
api:
|
||||
build: ./api
|
||||
volumes:
|
||||
- ./api:/app:z
|
||||
ports:
|
||||
- "${API_PORT:-8000}:8000"
|
||||
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
||||
environment:
|
||||
DATABASE_URL: postgresql+asyncpg://${POSTGRES_USER:-langlearn}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB:-langlearn}
|
||||
ADMIN_USER_EMAILS: ${ADMIN_USER_EMAILS:-wilson@thomaswilson.xyz}
|
||||
|
|
@ -45,6 +48,7 @@ services:
|
|||
DEEPL_API_KEY: ${DEEPL_API_KEY}
|
||||
DEEPGRAM_API_KEY: ${DEEPGRAM_API_KEY}
|
||||
GEMINI_API_KEY: ${GEMINI_API_KEY}
|
||||
PYTHONPATH: /app
|
||||
STORAGE_ENDPOINT_URL: http://storage:9000
|
||||
STORAGE_ACCESS_KEY: ${STORAGE_ACCESS_KEY:-langlearn}
|
||||
STORAGE_SECRET_KEY: ${STORAGE_SECRET_KEY}
|
||||
|
|
|
|||
Loading…
Reference in a new issue