-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpostgres.env.example
More file actions
17 lines (16 loc) · 918 Bytes
/
postgres.env.example
File metadata and controls
17 lines (16 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# postgres
POSTGRES_HOST_AUTH_METHOD=trust
# From: https://hub.docker.com/_/postgres
# This optional variable can be used to control the auth-method for host
# connections for all databases, all users, and all addresses. If unspecified
# then md5 password authentication is used. On an uninitialized database,
# this will populate pg_hba.conf via this approximate line:
# echo "host all all all $POSTGRES_HOST_AUTH_METHOD" >> pg_hba.conf
# See the PostgreSQL documentation on pg_hba.conf for more information about
# possible values and their meanings.
# Note 1: It is not recommended to use trust since it allows anyone to connect
# without a password, even if one is set (like via POSTGRES_PASSWORD).
# For more information see the PostgreSQL documentation on Trust
# Authentication.
# Note 2: If you set POSTGRES_HOST_AUTH_METHOD to trust, then POSTGRES_PASSWORD
# is not required.