expephalon-demomodule/expephalon/custom_settings.dist.py
Kumi d549897186 Too many things to remember all of them
Finally got the mail queue working
Oh yeah, queueing
Added a TOTP provider which doesn't do anything much yet
Probably a hell of a lot of other things that I just can't remember
2020-05-13 12:38:37 +02:00

52 lines
1.7 KiB
Python

# Secret Key: Replace this by a long random string.
# You can use django.core.management.utils.get_random_secret_key to generate one.
SECRET_KEY = "changeme"
# Database settings
# This application is tested only with MariaDB/MySQL.
# You will have to edit settings.py if you want to use Postgres, SQLite, etc.
DB_HOST = "localhost"
DB_PORT = 3306
DB_USER = "expephalon"
DB_PASS = "secret"
DB_NAME = "expephalon"
# AWS/Minio configuration
# Insert any required parameters as per https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html
AWS_ACCESS_KEY_ID = None
AWS_SECRET_ACCESS_KEY = None
AWS_STORAGE_BUCKET_NAME = None
AWS_S3_ENDPOINT_URL = None
# Whether debug messages should be output - set to False in production (exposes sensitive data)
DEBUG = True
# Which hostnames may be used to access the system - by default accepts "localhost", add "*" to allow any hostname
ALLOWED_HOSTS = []
# To add frontend or backend templates, move them to the /templates subdirectory, then insert their name (i.e. the directory name) in the
# appropriate field. Move any required statics to the /static subdirectory
EXPEPHALON_FRONTEND = "frontend"
EXPEPHALON_BACKEND = "backend"
# To add Expephalon modules, move them to the Expephalon root directory, then add them to this list
EXPEPHALON_MODULES = []
# To use memcached for caching, add IP:PORT or unix:PATH - default setting should be good for an unmodified local setup of memcached
MEMCACHED_LOCATION = ["127.0.0.1:11211"]
# RabbitMQ is required for queues to work - default settings should be good for an unmodified local setup of RabbitMQ,
# but you might still want to configure it to use a password
RABBITMQ_LOCATION = "127.0.0.1:5672"
RABBITMQ_VHOST = ""
RABBITMQ_USER = "guest"
RABBITMQ_PASS = "guest"