Skip to content

Commit 88033a6

Browse files
committed
bin/ci: pass POSTGRES_HOST_AUTH_METHOD=trust to postgres container
In docker-library/postgres#658 a change was made to the postgres image to require a password by default or explicit disabling of auth. For bin/ci, disable auth to keep configs simple. Add a note reminding that doing this is highly insecure and should not be done in production.
1 parent bc414ae commit 88033a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/ci

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ if ! docker run --rm -v "$(pwd)/ci-bundle:/bundle" oba-ci bash -c 'cd /bundle &&
5050
fi
5151

5252
echo "=== running postgres"
53-
docker run --name oba-postgres -d --rm postgres:10
53+
# Note that POSTGRES_HOST_AUTH_METHOD=trust is highly insecure and should
54+
# never be used in production.
55+
docker run --name oba-postgres -d -e POSTGRES_HOST_AUTH_METHOD=trust --rm postgres:10
5456

5557
echo "=== creating postgres database"
5658
postgres_done=0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy