29 lines
593 B
Python
29 lines
593 B
Python
|
# 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"
|
||
|
|
||
|
# Access control
|
||
|
ALLOWED_HOSTS = ["127.0.0.1"]
|
||
|
|
||
|
# CSRF
|
||
|
CSRF_TRUSTED_ORIGINS = [f"https://{DOMAIN}"]
|
||
|
|
||
|
# 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"
|