22 lines
542 B
Python
Raw Permalink Normal View History

2025-07-14 13:42:58 +01:00
# ktvmanager/config.py
import os
class Config:
DEBUG = False
TESTING = False
SECRET_KEY = os.environ.get('SECRET_KEY', 'my_secret_key')
HOST = '0.0.0.0'
PORT = 3001
DBHOST = os.getenv("DBHOST")
DBUSER = os.getenv("DBUSER")
DBPASS = os.getenv("DBPASS")
DATABASE = os.getenv("DATABASE")
DBPORT = os.getenv("DBPORT")
STREAM_URLS = ["http://example.com", "http://example.org"]
class DevelopmentConfig(Config):
DEBUG = True
class ProductionConfig(Config):
2025-07-14 14:09:53 +01:00
PORT = os.environ.get('PORT', 3001)