NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Compose, SOGo] Update SOGo, give SOGo more time for a graceful restart, autorestart on any exit code

5d5646df
andryyy <[email protected]> 9 years ago
data/Dockerfiles/sogo/supervisord.conf | 4 +++-
 docker-compose.yml                     | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

Diff

diff --git a/data/Dockerfiles/sogo/supervisord.conf b/data/Dockerfiles/sogo/supervisord.conf
index 30392e3b..7b77d15d 100644
--- a/data/Dockerfiles/sogo/supervisord.conf
+++ b/data/Dockerfiles/sogo/supervisord.conf
@@ -29,6 +29,7 @@ stdout_logfile_maxbytes=0
 stderr_logfile=/dev/stderr
 stderr_logfile_maxbytes=0
 priority=3
+startretries=10
 autorestart=true
 
 [program:sogo]
@@ -38,8 +39,9 @@ stdout_logfile=/dev/stdout
 stdout_logfile_maxbytes=0
 stderr_logfile=/dev/stderr
 stderr_logfile_maxbytes=0
-autorestart = unexpected
+autorestart = true
 autostart = false
+stopwaitsecs=120
 priority=5
 
 [inet_http_server]
diff --git a/docker-compose.yml b/docker-compose.yml
index 1a38afbd..aed9fde2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -139,7 +139,7 @@ services:
             - phpfpm
 
     sogo-mailcow:
-      image: mailcow/sogo:1.3
+      image: mailcow/sogo:1.4
       build: ./data/Dockerfiles/sogo
       depends_on:
         unbound-mailcow: