1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

switch restart always to unless-stopped

I try to integrate the backup mechanisms of https://github.com/blacklabelops/volumerize, handling named volumes and automatic service stop and restart for consistent backups. Nevertheless this needs a clean stop of a service, which is only able to be achieved, if the docker restarts the containers only if they are not explicitly stopped.
This commit is contained in:
cguentherTUChemnitz
2019-03-11 12:43:45 +01:00
committed by GitHub
parent bd83306390
commit 6e19eeba27
+3 -3
View File
@@ -4,7 +4,7 @@ services:
web:
image: ${docker_repo:-zokradonh}/kopano_web
container_name: web
restart: always
restart: unless-stopped
ports:
- "2015:2015"
- "${HTTP:-80}:80"
@@ -102,7 +102,7 @@ services:
mail:
image: tvial/docker-mailserver:release-v6.1.0
restart: always
restart: unless-stopped
hostname: mail
domainname: ${LDAP_DOMAIN}
container_name: mail
@@ -161,7 +161,7 @@ services:
db:
image: mariadb:10.3.10-bionic
restart: always
restart: unless-stopped
container_name: kopano_db
volumes:
- mysql/:/var/lib/mysql