You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
2 years ago
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: shynet-settings
|
||
|
type: Opaque
|
||
|
stringData:
|
||
|
# Django settings
|
||
|
DEBUG: "False"
|
||
|
|
||
|
# This is hidden behind ingress and (presumably) only works if it has access to
|
||
|
# all shynet pods and services
|
||
|
# If this is not set to '*' there is 404 on every webpage
|
||
|
ALLOWED_HOSTS: "*" # For better security, set this to your deployment's domain. Comma separated.
|
||
|
DJANGO_SECRET_KEY: django-secret-key
|
||
|
ACCOUNT_SIGNUPS_ENABLED: "False"
|
||
|
TIME_ZONE: "America/New_York"
|
||
|
|
||
|
# Redis configuration (if you use the default Kubernetes config, this will work)
|
||
|
REDIS_CACHE_LOCATION: "redis://shynet-redis.default.svc.cluster.local/0"
|
||
|
CELERY_BROKER_URL: "redis://shynet-redis.default.svc.cluster.local/1"
|
||
|
|
||
|
# PostgreSQL settings
|
||
|
DB_NAME: "shynet"
|
||
|
DB_USER: postgres-db-user
|
||
|
DB_PASSWORD: postgres-db-password
|
||
|
DB_HOST: "postgresql-service"
|
||
|
|
||
|
# Email settings
|
||
|
EMAIL_HOST_USER: ""
|
||
|
EMAIL_HOST_PASSWORD: ""
|
||
|
EMAIL_HOST: ""
|
||
|
SERVER_EMAIL: "Shynet <noreply@shynet.example.com>"
|