mirror of
https://github.com/james-m-jordan/morphik-core.git
synced 2025-05-09 19:32:38 +00:00
Allow docker POSTGRES_URI to be loaded from env (#128)
This commit is contained in:
parent
a62fc3ba5e
commit
c53a1dbc16
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user