Add docker mount warning log message on startup

This commit is contained in:
JonnyWong16 2021-10-09 16:15:38 -07:00
commit 9d4d740e8a
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -241,6 +241,13 @@ def initialize(config_file):
logger.info("Python {}".format(
sys.version.replace('\n', '')
))
if DOCKER and not DOCKER_MOUNT:
logger.warn(
"Docker /config volume not mounted. "
"All data may be cleared when the container is recreated or updated."
)
logger.info("Program Dir: {}".format(
PROG_DIR
))