diff --git a/docker/utils/pgsql.sh b/docker/utils/pgsql.sh --- a/docker/utils/pgsql.sh +++ b/docker/utils/pgsql.sh @@ -2,11 +2,12 @@ setup_pgsql () { : > ~/.pgpass + : > ~/.pg_service.conf echo "${PGHOST}:5432:template1:${PGUSER}:${POSTGRES_PASSWORD}" >> ~/.pgpass echo "${PGHOST}:5432:${PGUSER}:${PGUSER}:${POSTGRES_PASSWORD}" >> ~/.pgpass echo "${PGHOST}:5432:${POSTGRES_DB}:${PGUSER}:${POSTGRES_PASSWORD}" >> ~/.pgpass - cat > ~/.pg_service.conf <> ~/.pg_service.conf <