You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow providing passwords via `_FILE` environment variables for Etcd and PostgreSQL users (standby, admin, superuser). If the primary password environment variable is not set, the configuration script will read the password from the filesystem path specified in the corresponding `_FILE` variable.
This change also adds support for the `ETCD_USER` environment variable.
- **PGDATA**: location of PostgreSQL data directory, by default PGROOT/pgdata.
20
24
- **PGUSER_STANDBY**: username for the replication user, 'standby' by default.
21
25
- **PGPASSWORD_STANDBY**: a password for the replication user, 'standby' by default.
26
+
- **PGPASSWORD_STANDBY_FILE**: password file for ``PGPASSWORD_STANDBY``. Used when
27
+
``PGPASSWORD_STANDBY`` is not set.
22
28
- **STANDBY_HOST**: hostname or IP address of the primary to stream from.
23
29
- **STANDBY_PORT**: TCP port on which the primary is listening for connections. Patroni will use "5432" if not set.
24
30
- **STANDBY_PRIMARY_SLOT_NAME**: replication slot to use on the primary.
25
31
- **PGUSER_ADMIN**: username for the default admin user, 'admin' by default.
26
32
- **PGPASSWORD_ADMIN**: a password for the default admin user, 'cola' by default.
33
+
- **PGPASSWORD_ADMIN_FILE**: password file for ``PGPASSWORD_ADMIN``. Used when
34
+
``PGPASSWORD_ADMIN`` is not set.
27
35
- **USE_ADMIN**: whether to use the admin user or not.
28
36
- **PGUSER_SUPERUSER**: username for the superuser, 'postgres' by default.
29
37
- **PGPASSWORD_SUPERUSER**: a password for the superuser, 'zalando' by default
38
+
- **PGPASSWORD_SUPERUSER_FILE**: password file for ``PGPASSWORD_SUPERUSER``. Used when
39
+
``PGPASSWORD_SUPERUSER`` is not set.
30
40
- **ALLOW_NOSSL**: set to allow clients to connect without SSL enabled.
31
41
- **PGPORT**: port PostgreSQL listens to for client connections, 5432 by default
32
42
- **PGVERSION**: Specifies the version of postgreSQL to reference in the bin_dir variable (/usr/lib/postgresql/PGVERSION/bin) if postgresql.bin_dir wasn't set in SPILO_CONFIGURATION
0 commit comments