Parametrizing Django diskcache path and size (#474)

* Parametrizing Django diskcache path and size

* Cache directory permissions fix
This commit is contained in:
Danil Smirnov
2021-07-18 20:27:36 +03:00
committed by GitHub
parent 6cd113ce56
commit 2e9a101a1b
3 changed files with 10 additions and 2 deletions

View File

@@ -78,6 +78,9 @@ change them unless you know what you want.
you must specify any social login provider in `INSTALLED_APPS` instead.
See [settings.py][1] for implementation details.
- `DISKCACHE_PATH` and `DISKCACHE_SIZE`: Django Diskcache location path and
size respectively. Defaults are `/opt/mailman-web-data/diskcache` and 1G.
[1]: https://github.com/maxking/docker-mailman/blob/master/web/mailman-web/settings.py
Running