dev@locazia: fix docker config filepath

This commit is contained in:
user committed 2024-03-01 23:16:33 +03:00
1 parent 23ed777400
commit c2ec577f2d
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ UPLOADS_DIR = os.getenv('UPLOADS_DIR', '/app/data')
if not os.path.exists(UPLOADS_DIR):
os.makedirs(UPLOADS_DIR)
CONFIG_FILE = os.getenv('CONFIG_FILE') or f"{UPLOADS_DIR}/../config"
CONFIG_FILE = os.getenv('CONFIG_FILE') or f"{UPLOADS_DIR}/../config/config"
TELEGRAM_API_KEY = os.environ.get('TELEGRAM_API_KEY')
assert TELEGRAM_API_KEY, "Telegram API_KEY required"