public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
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
Less restarts
6d49dfb4
docker-compose.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Diff
diff --git a/docker-compose.yml b/docker-compose.yml
index 9d7680f1..f3e373bb 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -270,12 +270,15 @@ services:
# Additional subject alternate names
- ADDITIONAL_SAN=${ADDITIONAL_SAN}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
+ - DBNAME=${DBNAME}
+ - DBUSER=${DBUSER}
+ - DBPASS=${DBPASS}
volumes:
- ./data/web/.well-known/acme-challenge:/var/www/acme:rw
- ./data/assets/ssl:/var/lib/acme/:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
# do not restart the container too often. Things get worse when we hit let's encrypt's ratelimit.
- restart: on-failure:3
+ restart: on-failure:1
networks:
mailcow-network:
aliases: