meal_homework/mealAPI/utils/config.py
Torma Kristóf d64c8859af
Some checks failed
continuous-integration/drone/push Build is failing
some stuff donnerino
2022-02-13 20:38:02 +01:00

12 lines
302 B
Python

#!/usr/bin/env python3
import os
class Config:
PORT = 8080
DEBUG = os.environ.get("INPUT_SERVICE_DEBUG", "true").lower() in ["true", "yes", "1"]
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URI')
# disable this for better performance
SQLALCHEMY_TRACK_MODIFICATIONS = False