publish postgres only on loopback
This commit is contained in:
parent
9d7695bb33
commit
8b94a7ba99
2
db
2
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