Skip to content

Commit a3b465f

Browse files
Merge pull request #98 from charalamm/patch-1
Use MY_DOCKER_IP in database ports
2 parents b6ddd80 + a8bc8f4 commit a3b465f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ services:
137137
- PGPASSWORD=password
138138
- PGDATABASE=postgis
139139
ports:
140-
- "5439:5432"
140+
- "${MY_DOCKER_IP:-127.0.0.1}:5439:5432"
141141
command: postgres -N 500
142142
volumes:
143143
- ./.pgdata:/var/lib/postgresql/data

0 commit comments

Comments
 (0)