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:
@@ -27,10 +27,10 @@ docker logs mailman-core
|
||||
|
||||
|
||||
# Check to see if the core is working as expected.
|
||||
docker exec mailman-core curl -u restadmin:restpass http://172.19.199.2:8001/3.1/system | grep "GNU Mailman"
|
||||
docker exec mailman-core curl -u restadmin:restpass http://mailman-core:8001/3.1/system | grep "GNU Mailman"
|
||||
|
||||
# Check to see if postorius is working.
|
||||
docker exec mailman-web curl -L http://172.19.199.3:8000/postorius/lists | grep "Mailing List"
|
||||
docker exec mailman-web curl -L http://mailman-web:8000/postorius/lists | grep "Mailing List"
|
||||
|
||||
# Check to see if hyperkitty is working.
|
||||
docker exec mailman-web curl -L http://172.19.199.3:8000/hyperkitty/ | grep "Available lists"
|
||||
docker exec mailman-web curl -L http://mailman-web:8000/hyperkitty/ | grep "Available lists"
|
||||
|
||||
Reference in New Issue
Block a user