From 74cc4a903d2391cbc846b4a826589ba9f4ed598d Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Sun, 20 Jul 2025 00:54:17 +0300 Subject: [PATCH] add config.py.example --- config.py.example.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 config.py.example.py diff --git a/config.py.example.py b/config.py.example.py new file mode 100644 index 0000000..e6ac898 --- /dev/null +++ b/config.py.example.py @@ -0,0 +1,29 @@ +HOST = "0.0.0.0" +PORT = 8080 +CONNECTION_TIMEOUT_SECONDS = 30 + +USE_DARK_THEME = True +ENABLE_LOGGING = True + +YANDEX_CONFIGS = [ + # ("your token", "path to dir on disk") # Alexander Tarasov +] + +TMDB_API_KEY = "your api key" +TMDB_LANG = "en-US" + +CACHE_MAXSIZE = 1024 +CACHE_TTL = 300 + +MOVIES_DB_UPDATE_INTERVAL_SECONDS = 300 +REMOVE_INACTIVE_USERS_INTERVAL_SECONDS = 300 +ROOMS_UPDATE_INTERVAL_SECONDS = 0.5 +MAX_DELAY_SECONDS = 5 +MAX_USER_INACTIVE_HOURS = 168 + +PASSWORD = "1234" # webui password +SECRET = "secret-key" # just type random string here + +PROXIES = [ + +]