Skip to content

Commit

Permalink
Expose PSQL port override via env var
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseyburnett committed Feb 14, 2024
1 parent 5eeb622 commit 6174bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ services:
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
privileged: true
ports:
- 5432:5432
- ${POSTGRES_PORT}:5432
volumes:
- ./tmp/db:/var/lib/postgresql/data
command:
Expand Down

0 comments on commit 6174bc3

Please sign in to comment.