2022-07-21 12:47:37 +00:00
|
|
|
# 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"]
|
|
|
|
|
|
|
|
# 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
|
|
|
|
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"
|