publish postgres only on loopback
This commit is contained in:
parent
8a651b2f51
commit
e41869b0ca
2
IV/db
2
IV/db
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user