63 lines
1.2 KiB
Python
63 lines
1.2 KiB
Python
# OpenSearch settings
|
|
OPENSEARCH_URL = "127.0.0.1"
|
|
OPENSEARCH_PORT = 9200
|
|
OPENSEARCH_TLS = True
|
|
OPENSEARCH_USERNAME = "admin"
|
|
OPENSEARCH_PASSWORD = ""
|
|
|
|
OPENSEARCH_INDEX_MAIN = "main"
|
|
OPENSEARCH_INDEX_META = "meta"
|
|
OPENSEARCH_INDEX_INT = "int"
|
|
|
|
OPENSEARCH_MAIN_SIZES = ["20", "50", "100", "200", "400", "800"]
|
|
OPENSEARCH_MAIN_SIZES_ANON = ["20", "50", "100"]
|
|
OPENSEARCH_MAIN_WILDCARD = True
|
|
OPENSEARCH_MAIN_WILDCARD_ANON = False
|
|
OPENSEARCH_MAIN_SOURCES = ["irc", "dis", "all"]
|
|
DRILLDOWN_RESULTS_PER_PAGE = 15
|
|
|
|
OPENSEARCH_BLACKLISTED = {}
|
|
|
|
# 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 = ""
|
|
STRIPE_PUBLIC_API_KEY_TEST = ""
|
|
|
|
STRIPE_API_KEY_PROD = ""
|
|
STRIPE_PUBLIC_API_KEY_PROD = ""
|
|
|
|
STRIPE_ENDPOINT_SECRET = ""
|
|
STATIC_ROOT = ""
|
|
SECRET_KEY = "a"
|
|
|
|
STRIPE_ADMIN_COUPON = ""
|
|
|
|
# Threshold
|
|
THRESHOLD_ENDPOINT = ""
|
|
THRESHOLD_API_KEY = "api_1"
|
|
THRESHOLD_API_TOKEN = ""
|
|
THRESHOLD_API_COUNTER = ""
|
|
|
|
# NickTrace
|
|
NICKTRACE_MAX_ITERATIONS = 4
|
|
NICKTRACE_MAX_CHUNK_SIZE = 500
|
|
NICKTRACE_QUERY_SIZE = 10000
|
|
|
|
# Meta
|
|
META_MAX_ITERATIONS = 4
|
|
META_MAX_CHUNK_SIZE = 500
|
|
META_QUERY_SIZE = 10000
|
|
|
|
DEBUG = True
|
|
PROFILER = False
|