feat: support a separate data root for Docker bind mounts
This does not fix the :backup subcommand, which uses a temporary directory mounted to /backup.
This commit is contained in:
2
config
2
config
@@ -2,10 +2,12 @@
|
||||
export POSTGRES_IMAGE=${POSTGRES_IMAGE:="postgres"}
|
||||
export POSTGRES_IMAGE_VERSION=${POSTGRES_IMAGE_VERSION:="10.2"}
|
||||
export POSTGRES_ROOT=${POSTGRES_ROOT:="/var/lib/dokku/services/postgres"}
|
||||
export POSTGRES_HOST_ROOT=${POSTGRES_HOST_ROOT:=$POSTGRES_ROOT}
|
||||
|
||||
export PLUGIN_COMMAND_PREFIX="postgres"
|
||||
export PLUGIN_CONFIG_ROOT=${PLUGIN_CONFIG_ROOT:="$DOKKU_LIB_ROOT/config/$PLUGIN_COMMAND_PREFIX"}
|
||||
export PLUGIN_DATA_ROOT=$POSTGRES_ROOT
|
||||
export PLUGIN_DATA_HOST_ROOT=$POSTGRES_HOST_ROOT
|
||||
export PLUGIN_DATASTORE_PORTS=(5432)
|
||||
export PLUGIN_DATASTORE_WAIT_PORT=5432
|
||||
export PLUGIN_DEFAULT_ALIAS="DATABASE"
|
||||
|
||||
Reference in New Issue
Block a user