docker-mailman
docker-mailman copied to clipboard
fix path of SQLITE_URL for Django (postorius + web docker-image)
Startup of images using SQLite database fails as of non-existent database file. Fix this by using the proper syntax (https://github.com/joke2k/django-environ/issues/187#issuecomment-400577114) to have the database created at /opt/mailman-web-data/mailmanweb.db .
Addresses the problem of #193 I also ran into.
We don’t use django-environ in this project and also the syntax is actually correct, it will just create the database in the CWD which is /opt/mailman-web inside the container. The only issue really is that it won’t persist container upgrades since it is not a mount point.
Although, they are different database engines.
Does this change in this allow your local setup to work correctly? If yes, I’ll go ahead and merge this.
This Pull Request has not been updated for more than 1year
Sorry for the long delay ...
As far as I remember, with this change included the setup passed without issues.