aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/base/set_configs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/base/set_configs.py b/docker/base/set_configs.py
index 01ae8bc1a..142d1a7e2 100644
--- a/docker/base/set_configs.py
+++ b/docker/base/set_configs.py
@@ -155,7 +155,9 @@ def load_config():
sys.exit(1)
def load_from_file():
- config_file = '/var/lib/kolla/config_files/config.json'
+ config_file = os.environ.get("KOLLA_CONFIG_FILE")
+ if not config_file:
+ config_file = '/var/lib/kolla/config_files/config.json'
LOG.info("Loading config file at %s", config_file)
# Attempt to read config file