mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-22 15:13:42 -06:00
Fixed the issues reported while testing #7330.
This commit is contained in:
parent
50cf6489b9
commit
1cf9ced260
@ -142,12 +142,14 @@ Override the default file path for the preferences customization at the containe
|
|||||||
/pgadmin4/preferences.json mapped file below for more information. See the format
|
/pgadmin4/preferences.json mapped file below for more information. See the format
|
||||||
of the `Preferences JSON file <https://www.pgadmin.org/docs/pgadmin4/latest/preferences.html#json-format>`_.
|
of the `Preferences JSON file <https://www.pgadmin.org/docs/pgadmin4/latest/preferences.html#json-format>`_.
|
||||||
|
|
||||||
**PGADMIN_CONFIG_DISTRO_FILE**
|
**PGADMIN_CUSTOM_CONFIG_DISTRO_FILE**
|
||||||
|
|
||||||
*Default: /pgadmin4/config_distro.py*
|
*Default: /pgadmin4/config_distro.py*
|
||||||
|
|
||||||
Override the default file path for the pgadmin configurations file.This can be used while provisioning
|
Override the default file path for the pgadmin configurations file.This can be used while provisioning
|
||||||
container with read only root file system to achieve a more secure pgadmin4 deployment for docker and kubernetes.
|
container with read only root file system to achieve a more secure pgadmin4 deployment for kubernetes.
|
||||||
|
Note that if you are externally mapping this file, then environment variables passed using *PGADMIN_CONFIG_*
|
||||||
|
suffix will be ignored.
|
||||||
|
|
||||||
**PGPASS_FILE**
|
**PGPASS_FILE**
|
||||||
|
|
||||||
|
@ -37,8 +37,7 @@ fi
|
|||||||
file_env PGADMIN_DEFAULT_PASSWORD
|
file_env PGADMIN_DEFAULT_PASSWORD
|
||||||
|
|
||||||
# TO enable custom path for config_distro, pass config distro path via environment variable.
|
# TO enable custom path for config_distro, pass config distro path via environment variable.
|
||||||
export CONFIG_DISTRO_FILE_PATH="${PGADMIN_CONFIG_DISTRO_FILE:-/pgadmin4/config_distro.py}"
|
export CONFIG_DISTRO_FILE_PATH="${PGADMIN_CUSTOM_CONFIG_DISTRO_FILE:-/pgadmin4/config_distro.py}"
|
||||||
|
|
||||||
# Populate config_distro.py. This has some default config, as well as anything
|
# Populate config_distro.py. This has some default config, as well as anything
|
||||||
# provided by the user through the PGADMIN_CONFIG_* environment variables.
|
# provided by the user through the PGADMIN_CONFIG_* environment variables.
|
||||||
# Only update the file on first launch. The empty file is created during the
|
# Only update the file on first launch. The empty file is created during the
|
||||||
|
Loading…
Reference in New Issue
Block a user