2021-01-12 19:21:53 +01:00
|
|
|
FRONTEND_HOST = 'http://localhost'
|
|
|
|
PORTAL_NAME = 'MediaCMS'
|
|
|
|
SECRET_KEY = 'ma!s3^b-cw!f#7s6s0m3*jx77a@riw(7701**(r=ww%w!2+yk2'
|
|
|
|
POSTGRES_HOST = 'db'
|
|
|
|
REDIS_LOCATION = "redis://redis:6379/1"
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
"default": {
|
|
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
|
|
"NAME": "mediacms",
|
|
|
|
"HOST": POSTGRES_HOST,
|
|
|
|
"PORT": "5432",
|
|
|
|
"USER": "mediacms",
|
|
|
|
"PASSWORD": "mediacms",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
CACHES = {
|
|
|
|
"default": {
|
|
|
|
"BACKEND": "django_redis.cache.RedisCache",
|
|
|
|
"LOCATION": REDIS_LOCATION,
|
|
|
|
"OPTIONS": {
|
|
|
|
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# CELERY STUFF
|
|
|
|
BROKER_URL = REDIS_LOCATION
|
|
|
|
CELERY_RESULT_BACKEND = BROKER_URL
|
|
|
|
|
2021-05-26 17:35:21 +02:00
|
|
|
MP4HLS_COMMAND = "/home/mediacms.io/bento4/bin/mp4hls"
|
2021-02-17 21:32:18 +01:00
|
|
|
|
2021-01-29 19:38:35 +01:00
|
|
|
DEBUG = False
|