From be7084bbb516341f9427f7b07caf84d927180752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E4=B8=BA=E4=B9=8B?= <560397@gree.com.cn> Date: Tue, 21 Nov 2023 11:15:54 +0800 Subject: [PATCH] Update project --- application/constants/constants.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/constants/constants.py b/application/constants/constants.py index 404ebe1..674c79e 100644 --- a/application/constants/constants.py +++ b/application/constants/constants.py @@ -10,8 +10,14 @@ # @Description : """ + +# DEFAULT_CONFIG defines the path to the default configuration file. +# This path will be used if the configuration file is not explicitly specified by the environment variables. DEFAULT_CONFIG = 'config.yaml' +# ENV_CONFIG_MAP is a dictionary that maps different environments to their respective configuration file paths. +# The key is the environment name, and the value is the path to the configuration file for that environment. +# If additional environments are necessary, they can be added here. ENV_CONFIG_MAP = { 'PRODUCTION': 'production_config.yaml', 'DEVELOPMENT': 'config.yaml', -- GitLab