From 3226b87136e720a59ec7b443c0214bbea55482b5 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 8 Feb 2022 15:39:15 +0100 Subject: [PATCH] Set default value for NOPAQUE_DATA_DIR --- config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index e28325a1..c6ebeb35 100644 --- a/config.py +++ b/config.py @@ -48,7 +48,8 @@ class Config: NOPAQUE_ADMIN = os.environ.get('NOPAQUE_ADMIN') NOPAQUE_DAEMON_ENABLED = \ os.environ.get('NOPAQUE_DAEMON_ENABLED', 'true').lower() == 'true' - NOPAQUE_DATA_DIR = os.path.abspath(os.environ.get('NOPAQUE_DATA_DIR')) + NOPAQUE_DATA_DIR = \ + os.path.abspath(os.environ.get('NOPAQUE_DATA_DIR', '/mnt/nopaque')) NOPAQUE_DOCKER_REGISTRY = 'gitlab.ub.uni-bielefeld.de:4567' NOPAQUE_DOCKER_IMAGE_PREFIX = f'{NOPAQUE_DOCKER_REGISTRY}/sfb1288inf/' NOPAQUE_DOCKER_REGISTRY_USERNAME = \