Commit Graph

243 Commits

Author SHA1 Message Date
Tim Möhlmann
a2fea36c79 Increase HEALTHCHECK start time for services that need to wait for host resolving during startup.
In Docker Swarm mode the services listed below can get stuck in their start script, while they
are waiting for other services become available. Now, with HEALTHCHECK enabled, docker does not resolve
names of services that not pass HEALTHCHECK yet. Meaning that if one of the depenend services is not yet
available, it will create a chain of failing services.

The services below retry to resolve 100 time, with an average of 3.5 seconds. Hence, the --start-time
flag is now set at 350 seconds.
- dovecot (imap)
- postfix (smtp)
- rspamd (antispam)
2018-10-21 20:49:01 +03:00
Tim Möhlmann
c3e89967fb Fix front health checking
- Specified seperated /health path in order to allow for healthcheck even if webmail and admin are not seletectd. This also allows healthchecking fom external services like DNS load balancers;
- Make curl not to fail on TLS because localhost is not included in the certificates.
2018-10-21 20:45:41 +03:00
Thomas Sänger
a412951a30 simpler healthcheck for postfix 2018-10-16 23:12:02 +02:00
Thomas Sänger
0bc901a722 add healthcheck for dovecot 2018-10-16 23:11:20 +02:00
Thomas Sänger
1fc40bf932 add healthcheck for postfix 2018-10-16 22:57:25 +02:00
Thomas Sänger
39272ab05c add healthcheck for http services 2018-10-16 21:38:12 +02:00
mergify[bot]
bee81d1a54 Merge pull request #647 from HorayNarea/bcrypt
support bcrypt and use it as default
2018-10-16 17:50:44 +00:00
mergify[bot]
9fd7851cb6 Merge pull request #648 from HorayNarea/apk-no-cache
remove apk-warning about cache
2018-10-16 06:35:09 +00:00
mergify[bot]
a91a54b5f1 Merge pull request #651 from usrpro/fix-certbot
Front: move to Alpine:3.8 and fixing #522
2018-10-11 14:15:04 +00:00
Tim Möhlmann
de43060ef8 Move to Alpine:3.8 and fixing #522 2018-10-11 14:06:26 +03:00
Thomas Sänger
bdfcc5b530 pin alpine-version for 'none'-image 2018-10-11 03:20:19 +02:00
Thomas Sänger
6aafef88bd remove apk-warning about cache 2018-10-11 02:57:13 +02:00
Thomas Sänger
c8b39c5d4a support bcrypt and use it as default 2018-10-10 19:29:23 +02:00
kaiyou
10ec2f999a Another (embarrassing) fix for a merge typo 2018-10-10 11:39:41 +02:00
kaiyou
2e1aa079c1 Fix one (hopefully) last merge typo 2018-10-10 11:24:51 +02:00
kaiyou
4b9dbf00a8 Fix yet another merge-time typo 2018-10-10 09:51:50 +02:00
kaiyou
e8e133b53d Fix a merge typo in postfix build 2018-10-10 08:54:57 +02:00
kaiyou
00b5ae11db Merge branch 'master' into feat-abstract-db 2018-10-10 08:41:56 +02:00
kaiyou
fc99eb7b34 Re-enable sender access check to prevent source spoofing 2018-10-07 01:52:01 +02:00
kaiyou
f3f0b98755 Fix relay restrictions so email gets delivered correctly 2018-10-07 01:28:22 +02:00
Tim Möhlmann
0817629869 Increase attempts as it failed on fresh Swarm host 2018-10-07 02:10:13 +03:00
Tim Möhlmann
716ed16f34 Fix typo 2018-10-07 01:52:52 +03:00
Tim Möhlmann
16469d7282 Upgrade to newer pip version 2018-10-07 01:40:22 +03:00
Tim Möhlmann
1bae5968ad Import tenacy and fix syntax errors 2018-10-07 01:39:02 +03:00
Tim Möhlmann
c457ccfa60 Use tenacity for resolver retries 2018-10-07 00:32:05 +03:00
Tim Möhlmann
d6c386651d Merge branch 'master' into fix-swarm-start 2018-10-06 23:48:32 +03:00
ofthesun9
09d77bc2de Handle the case where the variable REJECT_UNLISTED_RECIPIENT is not set 2018-10-04 18:55:56 +00:00
ofthesun9
cc17962c86 fixes #583 2018-10-04 18:55:56 +00:00
kaiyou
4d70a8737e Expose the data volume for admin container 2018-09-28 17:42:10 +02:00
kaiyou
2cba045013 Explicitely declare required volumes, fixes #568 2018-09-28 17:28:46 +02:00
kaiyou
82bb8c2fd9 Merge remote-tracking branch 'github/master' into feat-abstract-db 2018-09-27 17:06:21 +02:00
kaiyou
f5668dea51 Handle relays as virtual transports through podop 2018-09-27 16:30:20 +02:00
kaiyou
9890e1fb2a Fix the dovecot configuration path 2018-09-27 16:13:02 +02:00
kaiyou
42c6bdb4df Split the internal blueprint into multiple view files 2018-09-27 16:09:38 +02:00
kaiyou
dc4b0d21ea Clean the dovecot configuration dir 2018-09-27 16:01:21 +02:00
kaiyou
f9c6c98180 Remove fetchmail dependency to the databse 2018-09-27 15:54:08 +02:00
kaiyou
43b6547e1c Lower the loglevel of podop 2018-09-27 14:53:58 +02:00
kaiyou
542793260b Handle wildcard aliases using podop 2018-09-27 14:53:23 +02:00
kaiyou
0d52364eac Fix alias resolution through podop 2018-09-27 14:38:10 +02:00
kaiyou
6d088504bd Adjust podop debug level based on environment 2018-09-27 14:37:47 +02:00
kaiyou
6ba55ee377 Implement the sieve script name resolution pattern 2018-09-27 14:10:53 +02:00
kaiyou
3c725bf634 Only support generating the default sieve script 2018-09-27 08:18:22 +02:00
kaiyou
ca6c0bc8fd Fix the user sieve script generation 2018-09-27 08:18:03 +02:00
kaiyou
4d25083847 Move sieve script generation to the admin container 2018-09-27 08:11:26 +02:00
kaiyou
cfeaa189f9 Use proper 404 return codes for missing objects 2018-09-27 08:00:31 +02:00
kaiyou
d8365bfbcf Use simpler routes for Dovecot 2018-09-27 07:55:54 +02:00
kaiyou
697caaab81 Update podop access and mail restrictions 2018-09-26 00:15:24 +02:00
kaiyou
7143fb8c47 Implement some basic views for podop 2018-09-26 00:15:03 +02:00
kaiyou
39cd0d5034 Upgrade to alpine 3.8 for smtp and imap 2018-09-26 00:14:30 +02:00
kaiyou
68aa797720 Merge branch 'master' into feat-abstract-db 2018-09-25 21:46:12 +02:00