publish postgres only on loopback

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:46 +03:00 committed by Motiejus Jakštys
parent 9d7695bb33
commit 8b94a7ba99

2
db
View File

@ -30,7 +30,7 @@ case ${1:-} in
start) start)
_psql -qc '\q' 2>/dev/null && exit 0 _psql -qc '\q' 2>/dev/null && exit 0
docker run -d --rm \ docker run -d --rm \
-p 5432:5432 \ -p 127.0.0.1:5432:5432 \
-e POSTGRES_DBNAME=osm \ -e POSTGRES_DBNAME=osm \
-e POSTGRES_USER=osm \ -e POSTGRES_USER=osm \
-e POSTGRES_PASSWORD=osm \ -e POSTGRES_PASSWORD=osm \