Files
OSIT-Mailman3/tests/test.sh
Christian Rose f6f4d36d64 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
2017-07-13 16:53:22 -07:00

12 lines
341 B
Bash
Executable File

#!/bin/bash
set -e
# Check to see if the core is up.
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:8080/postorius/lists | grep "Mailing List"
# Check to see if hyperkitty is working.
curl -L http://172.19.199.3:8080/hyperkitty/ | grep "Available lists"