Skip to content

Commit

Permalink
fix: Get PostgreSQL settings via env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed Sep 19, 2024
1 parent 39f71a3 commit 1b87f6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scheduler/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ services:
temporal-db:
condition: service_started
environment:
- DB=postgres12
- DB_PORT=5432
- DB_HOST=temporal-db
- DB=${TEMPORAL_POSTGRES_DB:-postgres12}
- DB_PORT=${TEMPORAL_POSTGRES_PORT:-5432}
- DB_HOST=${TEMPORAL_POSTGRES_HOST:-temporal-db}
- POSTGRES_USER=${TEMPORAL_POSTGRES_USER:-temporal}
- POSTGRES_PWD=${TEMPORAL_POSTGRES_PASSWORD}
- POSTGRES_SEEDS=temporal-db
Expand Down

0 comments on commit 1b87f6b

Please sign in to comment.