Allow docker POSTGRES_URI to be loaded from env (#128)

This commit is contained in:
Ian H 2025-05-04 02:53:30 -05:00 committed by GitHub
parent a62fc3ba5e
commit c53a1dbc16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ services:
- "8000:8000"
environment:
- JWT_SECRET_KEY=${JWT_SECRET_KEY:-your-secret-key-here}
- POSTGRES_URI=postgresql+asyncpg://morphik:morphik@postgres:5432/morphik
- POSTGRES_URI=${POSTGRES_URI:-postgresql+asyncpg://morphik:morphik@postgres:5432/morphik}
- PGPASSWORD=morphik
- HOST=0.0.0.0
- PORT=8000
@ -53,7 +53,7 @@ services:
command: arq core.workers.ingestion_worker.WorkerSettings
environment:
- JWT_SECRET_KEY=${JWT_SECRET_KEY:-your-secret-key-here}
- POSTGRES_URI=postgresql+asyncpg://morphik:morphik@postgres:5432/morphik
- POSTGRES_URI=${POSTGRES_URI:-postgresql+asyncpg://morphik:morphik@postgres:5432/morphik}
- PGPASSWORD=morphik
- LOG_LEVEL=DEBUG
- REDIS_HOST=redis