Add local settings template

This commit is contained in:
Mark Veidemanis 2022-07-21 13:47:37 +01:00
parent 8ebaaaaa05
commit 551401d91a
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# 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"