Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add django-compress set to startup
Scott Peshak5b85130162d8
diff --git a/extras/docker/apache/entrypoint.sh b/extras/docker/apache/entrypoint.shindex 537d08ff7..8ae4f7d00 100755--- a/extras/docker/apache/entrypoint.sh+++ b/extras/docker/apache/entrypoint.sh@@ -2,6 +2,7 @@if [ "${USE_S3}" = "TRUE" ]; thenpython manage.py collectstatic --no-input+ python manage.py compressfi/usr/sbin/apache2ctl -D FOREGROUNDdiff --git a/wger/settings_global.py b/wger/settings_global.pyindex 30addc744..1fb4c61a4 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -323,6 +323,7 @@ if USE_S3:STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'COMPRESS_URL = STATIC_URLCOMPRESS_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'+ COMPRESS_OFFLINE = Trueelse:STATIC_URL = '/static/'