Docker works!

This commit is contained in:
jmueller
2023-12-14 20:23:38 +01:00
parent f118861c05
commit 5969b52c54
2 changed files with 12 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ if os.path.exists(configfile):
with open('config.json') as user_file:
config = json.loads(user_file.read())
else:
config = {"db_user": os.environ["db_user"], "db_password": os.environ["db_password"], "db_host": os.environ["db_host"], "db_pass": os.environ["db_pass"]}
config = {"db_user": os.environ["db_user"], "db_password": os.environ["db_password"], "db_host": os.environ["db_host"], "db_name": os.environ["db_name"]}
if os.path.exists(".env"):
load_dotenv()