Merge PR from @chrros95

Several Changes:
- Uwsgi now listens on two sockets 8080 for http protocol and 8000 for uwsgi protocol
- Add a read_timeout in documentation for Nginx configuration 
- Expose 8024 properly in Core image
- Expose 8080 and 8000 both in Web image
- Rearange the commands to get even less number of layers.
- Add SIGINT as stop signal in web because uwsgi needs it shut down gracefully
- Enable threads in default uwsgi configuration

Fix #64, Fix #15
This commit is contained in:
Christian Rose
2017-07-14 01:53:22 +02:00
committed by Abhilash Raj
parent 17aede3614
commit f6f4d36d64
5 changed files with 37 additions and 26 deletions

View File

@@ -5,7 +5,7 @@ set -e
curl -u restadmin:restpass http://172.19.199.2:8001/3.1/system
# Check to see if postorius is working.
curl -L http://172.19.199.3:8000/postorius/lists | grep "Mailing List"
curl -L http://172.19.199.3:8080/postorius/lists | grep "Mailing List"
# Check to see if hyperkitty is working.
curl -L http://172.19.199.3:8000/hyperkitty/ | grep "Available lists"
curl -L http://172.19.199.3:8080/hyperkitty/ | grep "Available lists"