neptune/app/local_settings.example.py

63 lines
1.2 KiB
Python
Raw Normal View History

2022-07-21 12:47:37 +00:00
# OpenSearch settings
OPENSEARCH_URL = "127.0.0.1"
OPENSEARCH_PORT = 9200
OPENSEARCH_TLS = True
2022-08-10 19:40:58 +00:00
OPENSEARCH_USERNAME = "admin"
OPENSEARCH_PASSWORD = ""
2022-07-21 12:47:37 +00:00
OPENSEARCH_INDEX_MAIN = "main"
OPENSEARCH_INDEX_META = "meta"
2022-08-10 19:40:58 +00:00
OPENSEARCH_INDEX_INT = "int"
2022-07-21 12:47:37 +00:00
2022-08-10 19:40:58 +00:00
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
2022-07-21 12:47:37 +00:00
2022-08-10 19:40:58 +00:00
OPENSEARCH_BLACKLISTED = {}
2022-07-21 12:49:27 +00:00
2022-07-21 12:47:37 +00:00
# URLs
DOMAIN = "example.com"
2022-07-21 12:48:23 +00:00
URL = f"https://{DOMAIN}"
2022-07-21 12:47:37 +00:00
# Access control
2022-07-21 12:48:23 +00:00
ALLOWED_HOSTS = ["127.0.0.1", DOMAIN]
2022-07-21 12:47:37 +00:00
# CSRF
2022-07-21 12:48:23 +00:00
CSRF_TRUSTED_ORIGINS = [URL]
2022-07-21 12:47:37 +00:00
# Stripe
STRIPE_TEST = True
2022-08-10 19:40:58 +00:00
STRIPE_API_KEY_TEST = ""
STRIPE_PUBLIC_API_KEY_TEST = ""
2022-07-21 12:47:37 +00:00
2022-08-10 19:40:58 +00:00
STRIPE_API_KEY_PROD = ""
STRIPE_PUBLIC_API_KEY_PROD = ""
2022-07-21 12:49:38 +00:00
STRIPE_ENDPOINT_SECRET = ""
STATIC_ROOT = ""
2022-07-21 12:50:45 +00:00
SECRET_KEY = "a"
2022-07-21 12:52:03 +00:00
2022-08-10 19:40:58 +00:00
STRIPE_ADMIN_COUPON = ""
2022-07-21 12:52:03 +00:00
# Threshold
2022-08-10 19:40:58 +00:00
THRESHOLD_ENDPOINT = ""
THRESHOLD_API_KEY = "api_1"
THRESHOLD_API_TOKEN = ""
THRESHOLD_API_COUNTER = ""
2022-07-21 12:52:03 +00:00
# NickTrace
NICKTRACE_MAX_ITERATIONS = 4
NICKTRACE_MAX_CHUNK_SIZE = 500
NICKTRACE_QUERY_SIZE = 10000
2022-07-21 12:52:41 +00:00
# Meta
META_MAX_ITERATIONS = 4
META_MAX_CHUNK_SIZE = 500
META_QUERY_SIZE = 10000
DEBUG = True
2022-08-10 21:40:54 +00:00
PROFILER = False