Closed liushapku closed 1 year ago
I also tried the following from ubuntu shell docker exec -it healthchecks /bin/bash
Then in the shell, cd /app/healthchecks
After this, run manually: /usr/bin/python3 ./manage.py compress
. It quit immediately with error
CommandError: Compressor is disabled. Set the COMPRESS_ENABLED setting or use --force to override.
Setting COMPRESS_ENABLED does not work, adding --force
to the command line works.
But I don't know how I can let docker automatically append --force
Adding a COMPRESS_ENABLED = True
in /config/local_settings.py
works to get past this error.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
When deployed using portainer with docker-composer, it should run smoothly.
Current Behavior
The server fails to start. The log message says:
Steps to Reproduce
Environment
OS: ubuntu CPU architecture: x86_64 How docker service was installed:
sudo apt install docker.io
Command used to create docker container (run/create/compose/screenshot)
I use portainer and clicked "deploy the stack."
Docker logs