Get rid of hard coded IPs (#441)
Replace them with: * containers' hostnames * gateway's IP address for default SMTP_HOST * Core: when SMTP_HOST undef, echo the default value * docker-compose: add port mapping * docker-compose: drop network driver conf * Exim macro: use localhost as LMTP host * Update README.md * docker-compose: Limit port mapping to loopback * Update other docker-compose example files
This commit is contained in:
@@ -43,11 +43,12 @@ change them unless you know what you want.
|
||||
- `MAILMAN_REST_PASSWORD`: Mailman's REST API user's password. Default value is
|
||||
`restpass`
|
||||
|
||||
- `MAILMAN_HOST_IP`: IP of the Container from which Mailman will send emails to
|
||||
hyperkitty (django). Set to `172.19.199.2` by default.
|
||||
- `MAILMAN_HOSTNAME`: IP of the Container from which Mailman will send emails to
|
||||
hyperkitty (django). Set to `mailman-core` by default.
|
||||
|
||||
- `SMTP_HOST`: IP Address/hostname from which you will be sending
|
||||
emails. Default value is `172.19.199.1`, which is the address of the Host OS.
|
||||
emails. Default value is the container's gateway retrieved from:
|
||||
/sbin/ip route | awk '/default/ { print $3 }'
|
||||
|
||||
- `SMTP_PORT`: Port used for SMTP. Default is `25`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user