publish postgres only on loopback

This commit is contained in:
Motiejus Jakštys 2021-03-21 16:19:17 +02:00
parent 8a651b2f51
commit e41869b0ca

2
IV/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 \