Add new settings for Templates.
This commit is contained in:
committed by
Abhilash Raj
parent
7ce2c3f14d
commit
9f8fd65bb5
@@ -58,6 +58,11 @@ change them unless you know what you want.
|
||||
configuration. This is a separate configuration from`SERVE_FROM_DOMAIN` as
|
||||
latter is used for other purposes too.
|
||||
|
||||
- `POSTORIUS_TEMPLATE_BASE_URL`: The base url at which the `mailman-web`
|
||||
container can be reached from `mailman-core` container. This is set to
|
||||
`http://mailman-web:8000` by default so that Core can fetch templates from
|
||||
Core.
|
||||
|
||||
Running
|
||||
=======
|
||||
|
||||
|
||||
@@ -403,6 +403,8 @@ Q_CLUSTER = {
|
||||
'orm': 'default',
|
||||
}
|
||||
|
||||
POSTORIUS_TEMPLATE_BASE_URL = os.environ.get('POSTORIUS_TEMPLATE_BASE_URL', 'http://mailman-web:8000')
|
||||
|
||||
try:
|
||||
from settings_local import *
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user