Restart containers unless stopped

This commit is contained in:
Marko Korhonen 2020-07-11 14:24:47 +03:00
parent 97efc3ae74
commit 8e0f439765
7 changed files with 7 additions and 7 deletions

View file

@ -13,7 +13,7 @@ services:
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWD=${MYSQL_PASS}
restart: always
restart: unless-stopped
networks:
- gitea
- mariadb

View file

@ -10,7 +10,7 @@ services:
- "8096:8096"
networks:
- proxy
restart: always
restart: unless-stopped
volumes:
- /docker/jellyfin/config:/config
- /docker/jellyfin/cache:/cache

View file

@ -11,7 +11,7 @@ services:
volumes:
- /docker/mariadb:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
restart: always
restart: unless-stopped
networks:
mariadb:

View file

@ -3,6 +3,6 @@ services:
matterbridge:
image: 42wim/matterbridge:stable
container_name: matterbridge
restart: always
restart: unless-stopped
volumes:
- /docker/matterbridge:/etc/matterbridge

View file

@ -11,4 +11,4 @@ services:
volumes:
- /docker/mumble:/etc/mumble
- /etc/localtime:/etc/localtime:ro
restart: always
restart: unless-stopped

View file

@ -5,7 +5,7 @@ services:
container_name: portainer
environment:
- TZ=Europe/Helsinki
restart: always
restart: unless-stopped
networks:
- proxy
volumes:

View file

@ -17,4 +17,4 @@ services:
devices:
- /dev/dri:/dev/dri #hardware acceleration
- /dev/dvb:/dev/dvb #tuner card
restart: always
restart: unless-stopped