From 87c62fec3bd84dbdc16145e42b412369905fa744 Mon Sep 17 00:00:00 2001 From: Michal Migurski Date: Wed, 3 Feb 2021 20:37:06 -0800 Subject: [PATCH] Added note about password and privileges for OSM DB user --- docker/postgres/openstreetmap-postgres-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/postgres/openstreetmap-postgres-init.sh b/docker/postgres/openstreetmap-postgres-init.sh index de620bcec..1a7c58857 100755 --- a/docker/postgres/openstreetmap-postgres-init.sh +++ b/docker/postgres/openstreetmap-postgres-init.sh @@ -2,6 +2,7 @@ set -ex # Create 'openstreetmap' user +# Password and superuser privilege are needed to successfully run test suite psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" <<-EOSQL CREATE USER openstreetmap SUPERUSER PASSWORD 'openstreetmap'; GRANT ALL PRIVILEGES ON DATABASE openstreetmap TO openstreetmap; -- 2.39.5