docker-mailserver/test
Johan Smits 9e7959fafe Issue 631 run services with supervisor (#676)
* installed supervisor. Still need to set tasks to run in foreground.

* setting programs to run in foreground

* seems to work now

* cleanup

* final fixes

* tests

* show startup output on stdout

* set Dovecot config files before starting it

* make all processes log to console

* Use the supervisor as the main process. The start-mailserver is started
from the supervisord and then this process triggers others.

Defined some default variable in the Dockerfile. In order for
supervisored to build the command lines the ENV variable need to be set.
Therefore the defaults are defined.

Some processes are not single processes like postfix and fail2ban and
they have a wrapper. The wrapper takes care of proper shutdown and checking
if the process is running or not. Supervisored will restart the wrapping
script if the process is gone.

Increased some delays between tests because sometimes they where to short
for all containers to be running.

* Remove obsolete comments, reset timeout value to old one, added new lines

* Add more time for analyzing the emails.

Sometimes it fails the tests and gives a wrong state about
the test. During testing 40 seconds was the safe value.
2017-08-07 17:39:40 +02:00
..
auth Add ldap auth for postfix and dovecot (#352) 2016-10-30 14:11:36 +01:00
bats@03608115df Add bats asserts (#463) 2017-01-10 14:15:41 +01:00
config Support for modifying Postfix' master.cf (#595) 2017-06-13 13:20:25 +02:00
docker-openldap Add ldap auth for postfix and dovecot (#352) 2016-10-30 14:11:36 +01:00
email-templates Add sieve pipe and filter (#574) 2017-05-10 09:54:02 +02:00
nc_templates Include whitelist_clients.local in postgrey setup from config folder (#564) 2017-04-12 17:59:04 +02:00
test_helper Add bats asserts (#463) 2017-01-10 14:15:41 +01:00
tests.bats Issue 631 run services with supervisor (#676) 2017-08-07 17:39:40 +02:00