Skip to content

Commit

Permalink
Merge pull request #98 from charalamm/patch-1
Browse files Browse the repository at this point in the history
Use MY_DOCKER_IP in database ports
  • Loading branch information
vincentsarago authored Jun 21, 2023
2 parents b6ddd80 + a8bc8f4 commit a3b465f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ services:
- PGPASSWORD=password
- PGDATABASE=postgis
ports:
- "5439:5432"
- "${MY_DOCKER_IP:-127.0.0.1}:5439:5432"
command: postgres -N 500
volumes:
- ./.pgdata:/var/lib/postgresql/data
Expand Down

0 comments on commit a3b465f

Please sign in to comment.