mount src folder, fix permissions, store db and media on host directories

This commit is contained in:
Swift Ugandan
2021-01-25 12:36:16 +00:00
parent a15ed70d44
commit ac3ce569a8
16 changed files with 150 additions and 97 deletions

View File

@@ -5,7 +5,7 @@ from .methods import is_mediacms_editor, is_mediacms_manager
def stuff(request):
"""Pass settings to the frontend"""
ret = {}
if request.is_secure() and settings.LOCAL_INSTALL:
if request.is_secure():
# in case session is https, pass this setting so
# that the frontend uses https too
ret["FRONTEND_HOST"] = settings.SSL_FRONTEND_HOST