2020-04-15 02:57:27 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: django-settings
|
|
|
|
type: Opaque
|
|
|
|
stringData:
|
|
|
|
# Django settings
|
|
|
|
DEBUG: "False"
|
|
|
|
ALLOWED_HOSTS: "*" # For better security, set this to your deployment's domain. Comma separated.
|
|
|
|
DJANGO_SECRET_KEY: ""
|
2020-04-15 03:18:45 +08:00
|
|
|
SIGNUPS_ENABLED: "False"
|
2020-04-17 23:51:27 +08:00
|
|
|
TIME_ZONE: "America/New_York"
|
2020-04-15 02:57:27 +08:00
|
|
|
|
|
|
|
# Redis configuration (if you use the default Kubernetes config, this will work)
|
2020-05-06 02:42:26 +08:00
|
|
|
REDIS_CACHE_LOCATION: "redis://shynet-redis.default.svc.cluster.local/0"
|
|
|
|
CELERY_BROKER_URL: "redis://shynet-redis.default.svc.cluster.local/1"
|
2020-04-15 02:57:27 +08:00
|
|
|
|
|
|
|
# PostgreSQL settings
|
|
|
|
DB_NAME: ""
|
|
|
|
DB_USER: ""
|
|
|
|
DB_PASSWORD: ""
|
|
|
|
DB_HOST: ""
|
|
|
|
|
|
|
|
# Email settings
|
|
|
|
EMAIL_HOST_USER: ""
|
|
|
|
EMAIL_HOST_PASSWORD: ""
|
|
|
|
EMAIL_HOST: ""
|
|
|
|
SERVER_EMAIL: "Shynet <noreply@shynet.example.com>"
|