Open ykorzikowski opened 1 year ago
Hi, these are all valid suggestions, and I definitely want to get rid of the ENABLE_X variables any time soon...they have served well for a number of vanilla installations, but it's time to get the Docker setup updated.
Would you be interested to work on it and even open a PR?
adding this to my plate and check when I have time :)
Hey there,
it took me a while to understand the architecture of mediacms. The setup-guide was not working for me in the beginning.
I had to set
ENABLE_UWSGI
toyes
by uncommenting it. Otherwise I got a Bad Gateway from the nginx proxy.I also removed postgres as I use a productive database hosted on a different machine.
for volumes, I only mount logs, media and the deploy-directory, as it contains configuration details.
I would not recommend mount the whole git-repo, as you overwrite the containers code, which makes no sense IMHO.
Also, making the settings.py readonly will lead into error:
When using config-maps in kubernetes i.e., a read-only settings-file would be mandatory.
Maybe change to a yaml file and use pyyaml to manage it. I do this on my python projects aswell.