-
Notifications
You must be signed in to change notification settings - Fork 205
/
Copy pathhelp.yaml
20 lines (20 loc) · 1.45 KB
/
help.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
environment_variables:
POSTGRES_USER: "User to be created on first boot (default: postgres)."
POSTGRES_PASSWORD: "Password to be set for POSTGRES_USER on first boot (default: none)."
POSTGRES_DB: "Database to be created on first boot, accessible by POSTGRES_USER (default: none)."
POSTGRES_MODE: "Replication mode. Possible values master/slave (default: master)."
POSTGRES_REPLICATION_USER: "Replication user. User is created on the master at first boot (default: none)."
POSTGRES_REPLICATION_PASSWORD: "Replication users password. Password is set for POSTGRES_REPLICATION_USER on master on the first boot (default: none)."
POSTGRES_MASTER_HOST: "Hostname/IP of replication master (parameter available only on slave)."
POSTGRES_MASTER_PORT: "Port of replication master, defaults to 5432 (parameter available only on slave)."
volumes:
$BITNAMI_APP_VOL_PREFIX/data: "Location of $BITNAMI_APP_NAME data files."
$BITNAMI_APP_VOL_PREFIX/conf: "Location of $BITNAMI_APP_NAME config files."
$BITNAMI_APP_VOL_PREFIX/logs: "Location of postgresql.log."
ports:
5432: "$BITNAMI_APP_NAME default port."
misc:
Options: "You can add extra options during the docker run using the -- prefix."
Note: "The user and database creation happens only the first time you run the container."
Note: "POSTGRES_USER works in conjunction with POSTGRES_DB environment variable."
Tip: "Back up the $BITNAMI_APP_VOL_PREFIX/data and $BITNAMI_APP_VOL_PREFIX/conf directories regularly."