From e41869b0ca7708e1e70f49c34540d6f1e8255369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 21 Mar 2021 16:19:17 +0200 Subject: [PATCH] publish postgres only on loopback --- IV/db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IV/db b/IV/db index 8b76a19..8f17bdd 100755 --- a/IV/db +++ b/IV/db @@ -30,7 +30,7 @@ case ${1:-} in start) _psql -qc '\q' 2>/dev/null && exit 0 docker run -d --rm \ - -p 5432:5432 \ + -p 127.0.0.1:5432:5432 \ -e POSTGRES_DBNAME=osm \ -e POSTGRES_USER=osm \ -e POSTGRES_PASSWORD=osm \