diff --git a/docker-compose.yml b/docker-compose.yml index fc31bf57..ea01c8d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,7 +66,7 @@ services: user: ${DOCKER_USER:-1000} image: publish:production environment: - - DJANGO_CONFIGURATION=ContinuousIntegration + - DJANGO_CONFIGURATION=Demo env_file: - env.d/development/common - env.d/development/postgresql @@ -81,7 +81,7 @@ services: image: publish:production command: ["celery", "-A", "publish.celery_app", "worker", "-l", "INFO"] environment: - - DJANGO_CONFIGURATION=ContinuousIntegration + - DJANGO_CONFIGURATION=Demo env_file: - env.d/development/common - env.d/development/postgresql diff --git a/src/backend/publish/settings.py b/src/backend/publish/settings.py index 91d74fd6..db117245 100755 --- a/src/backend/publish/settings.py +++ b/src/backend/publish/settings.py @@ -554,3 +554,20 @@ class PreProduction(Production): nota bene: it should inherit from the Production environment. """ + + +class Demo(Production): + """ + Demonstration environment settings + + nota bene: it should inherit from the Production environment. + """ + + STORAGES = { + "default": { + "BACKEND": "django.core.files.storage.FileSystemStorage", + }, + "staticfiles": { + "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage", + }, + }