Skip to content

Commit

Permalink
fix(#198): add configurable POSTGRES_PORT to docker compose file (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmayore authored Jan 6, 2025
1 parent 3fe07b5 commit c286014
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_PORT=5432
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
- POSTGRES_SCHEMA=${POSTGRES_SCHEMA}
- POSTGRES_TABLE=${POSTGRES_TABLE}
restart: always
Expand All @@ -29,6 +29,7 @@ services:
working_dir: /dbt/
environment:
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
Expand Down

0 comments on commit c286014

Please sign in to comment.