@@ -70,6 +70,13 @@ These are the variables that you MUST change before deploying:
70
70
For more details on how to configure this image, please look [ Mailman-core's
71
71
Readme] ( core/README.md )
72
72
73
+ If you need more advanced configuration, you can have configuration files for
74
+ Mailman Core and Django too. For Core, it needs to exist at
75
+ ` /opt/mailman/core/mailman-extra.cfg ` , anything in the configuration file will
76
+ override the default ones. For Django, you can add settings to
77
+ ` /opt/mailman/web/settings_local.py ` where you can override the default
78
+ settings.
79
+
73
80
Running
74
81
=======
75
82
@@ -121,7 +128,9 @@ this. However, these are very easy to understand if you know how docker works.
121
128
running. [ Uwsgi] [ 7 ] server is used to run a web server with the configuration
122
129
provided in this repository [ here] ( web/assets/settings.py ) . You may want to
123
130
change the setting ` ALLOWED_HOSTS ` in the settings before deploying the
124
- application in production.
131
+ application in production. You can do that by adding a
132
+ ` /opt/mailman/web/settings_local.py ` which is imported by the Django when
133
+ running.
125
134
126
135
- Spin off a postgresql database container which is used by both mailman-core
127
136
and mailman-web as their primary database.
@@ -138,7 +147,7 @@ this. However, these are very easy to understand if you know how docker works.
138
147
139
148
- mailman-web mounts ` /opt/mailman/web ` from the host OS to
140
149
` /opt/mailman-web-data ` in the container. It consists of the logs and
141
- settings .py file for Django.
150
+ settings_local .py file for Django.
142
151
143
152
- database mounts ` /opt/mailman/database ` at ` /var/lib/postgresql/data ` so that
144
153
postgresql can persists its data even if the database containers are
0 commit comments