Skip to content

Commit

Permalink
feat(docker-jans-configurator): custom location for generate.json via…
Browse files Browse the repository at this point in the history
… ENV (#5905)

Signed-off-by: Mustafa Baser <mbaser@mail.com>
  • Loading branch information
iromli authored and devrimyatar committed Dec 30, 2023
1 parent 12e2b79 commit 2d82f7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-jans-configurator/scripts/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
CERTS_DIR = os.environ.get("CN_CONFIGURATOR_CERTS_DIR", f"{CONFIGURATOR_DIR}/certs")
JAVALIBS_DIR = f"{CONFIGURATOR_DIR}/javalibs"

DEFAULT_CONFIG_FILE = f"{DB_DIR}/config.json"
DEFAULT_SECRET_FILE = f"{DB_DIR}/secret.json"
DEFAULT_GENERATE_FILE = f"{DB_DIR}/generate.json"
DEFAULT_CONFIG_FILE = os.environ.get("CN_CONFIGURATOR_CONFIG_FILE", f"{DB_DIR}/config.json")
DEFAULT_SECRET_FILE = os.environ.get("CN_CONFIGURATOR_SECRET_FILE", f"{DB_DIR}/secret.json")
DEFAULT_GENERATE_FILE = os.environ.get("CN_CONFIGURATOR_GENERATE_FILE", f"{DB_DIR}/generate.json")

logging.config.dictConfig(LOGGING_CONFIG)
logger = logging.getLogger("configurator")
Expand Down

0 comments on commit 2d82f7d

Please sign in to comment.