33 lines
1.7 KiB
Plaintext
33 lines
1.7 KiB
Plaintext
$BITNAMI_APP_NAME cheatsheet:
|
|
|
|
ENVIRONMENT VARIABLES:
|
|
POSTGRESQL_USER: User to be created on first boot (default: postgres).
|
|
POSTGRESQL_PASSWORD: Password to be set for POSTGRESQL_USER on first boot (default: none).
|
|
POSTGRESQL_DATABASE: Database to be created on first boot, accessible by POSTGRESQL_USER (default: none).
|
|
POSTGRESQL_REPLICATION_MODE: Replication mode. Possible values master/slave (default: none).
|
|
POSTGRESQL_REPLICATION_USER: Replication user. User is created on the master at first boot (default: none).
|
|
POSTGRESQL_REPLICATION_PASSWORD: Replication users password. Password is set for POSTGRESQL_REPLICATION_USER on master on the first boot (default: none).
|
|
POSTGRESQL_MASTER_HOST: Hostname/IP of replication master (parameter available only on slave).
|
|
POSTGRESQL_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: POSTGRESQL_USER works in conjunction with POSTGRESQL_DATABASE environment variable.
|
|
Tip: Back up the $BITNAMI_APP_VOL_PREFIX/data and $BITNAMI_APP_VOL_PREFIX/conf directories regularly.
|
|
|
|
COMMANDS:
|
|
print-help: Print this page.
|
|
check-updates: Check if a new version of the $BITNAMI_APP_NAME image is available.
|
|
|
|
Visit $GITHUB_PAGE for more information.
|
|
|
|
|