Karl 372d9f8889
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m38s
rework docker i dockerfile
2025-07-14 14:09:53 +01:00

22 lines
542 B
Python

# 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):
PORT = os.environ.get('PORT', 3001)