# Secret key SECRET_KEY = "" # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True # OpenSearch settings OPENSEARCH_URL = "127.0.0.1" OPENSEARCH_PORT = 9200 OPENSEARCH_TLS = True OPENSEARCH_USERNAME = "opensearch_user1" OPENSEARCH_PASSWORD = "hunter2" OPENSEARCH_INDEX_MAIN = "main" OPENSEARCH_INDEX_META = "meta" OPENSEARCH_MAIN_SEARCH_FIELDS = ["msg", "nick", "host", "ident"] OPENSEARCH_MAIN_SIZES = ["5", "10", "15", "20", "50", "100", "200"] OPENSEARCH_MAIN_TIMESCALES = ["minute", "hour", "day", "week", "month", "6months"] OPENSEARCH_BLACKLISTED = { "msg": ["example.com"], "nick": ["me"], } # URLs DOMAIN = "example.com" URL = f"https://{DOMAIN}" # Access control ALLOWED_HOSTS = ["127.0.0.1", DOMAIN] # CSRF CSRF_TRUSTED_ORIGINS = [URL] # Stripe STRIPE_TEST = True STRIPE_API_KEY_TEST = "sk_test_xxx" STRIPE_PUBLIC_API_KEY_TEST = "pk_test_xxx" STRIPE_API_KEY_PROD = "sk_prod_xxx" STRIPE_PUBLIC_API_KEY_PROD = "pk_prod_xxx" STRIPE_ENDPOINT_SECRET = "" STATIC_ROOT = "" SECRET_KEY = "a" STRIPE_ADMIN_COUPON = "promo" # Threshold THRESHOLD_ENDPOINT = "http://127.0.0.1:13869" THRESHOLD_API_KEY = "name" THRESHOLD_API_TOKEN = "token" THRESHOLD_API_COUNTER = "counter" DEBUG = True