You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
753 B
18 lines
753 B
import os |
|
|
|
class Config: |
|
SECRET_KEY = os.getenv("SECRET_KEY", "change-me") |
|
APP_PORT = int(os.getenv("APP_PORT", "5090")) |
|
|
|
MARIADB_HOST = os.getenv("MARIADB_HOST", "127.0.0.1") |
|
MARIADB_PORT = int(os.getenv("MARIADB_PORT", "3306")) |
|
MARIADB_DB = os.getenv("MARIADB_DB", "otb_cloud") |
|
MARIADB_USER = os.getenv("MARIADB_USER", "otb_cloud") |
|
MARIADB_PASSWORD = os.getenv("MARIADB_PASSWORD", "change-me") |
|
|
|
STORAGE_ROOT = os.getenv("STORAGE_ROOT", "/tank/backups/otb-cloud") |
|
|
|
OTB_PORTAL_SHARED_SECRET = os.getenv("OTB_PORTAL_SHARED_SECRET", "change-me") |
|
OTB_PORTAL_ALLOWED_SKEW_SECONDS = int(os.getenv("OTB_PORTAL_ALLOWED_SKEW_SECONDS", "300")) |
|
|
|
DEFAULT_DEVICE_NAMES = ["laptop", "phone", "tablet", "workpc", "homepc"]
|
|
|