Improve restart en failure

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-05-12 12:00:12 +02:00
parent f11ca40a94
commit b101480a01
No known key found for this signature in database
GPG Key ID: 15D0B1525584D383
11 changed files with 13 additions and 13 deletions

View File

@ -7,7 +7,7 @@ services:
container_name: adminer
profiles:
- adminer
restart: on-failure
restart: on-failure:5
env_file:
- env/adminer.env
depends_on:

View File

@ -7,7 +7,7 @@ services:
container_name: backup
profiles:
- backup
restart: on-failure
restart: on-failure:5
env_file:
- env/backup.env
volumes:

View File

@ -7,7 +7,7 @@ services:
container_name: caddy
profiles:
- caddy
restart: on-failure
restart: on-failure:5
ports:
- 80:80
- 443:443

View File

@ -7,7 +7,7 @@ services:
container_name: gitea
profiles:
- gitea
restart: on-failure
restart: on-failure:5
depends_on:
- caddy
env_file:
@ -31,7 +31,7 @@ services:
- gitea
depends_on:
- gitea
restart: on-failure
restart: on-failure:5
volumes:
- gitea_db:/var/lib/mysql:rw
env_file:

View File

@ -7,7 +7,7 @@ services:
container_name: jellyfin
profiles:
- jellyfin
restart: on-failure
restart: on-failure:5
depends_on:
- caddy
volumes:

View File

@ -7,7 +7,7 @@ services:
container_name: openssh
profiles:
- openssh
restart: on-failure
restart: on-failure:5
env_file:
- env/openssh.env
volumes:

View File

@ -7,7 +7,7 @@ services:
container_name: qbittorrent
profiles:
- qbittorrent
restart: on-failure
restart: on-failure:5
depends_on:
- caddy
env_file:

View File

@ -7,7 +7,7 @@ services:
container_name: syncthing
profiles:
- syncthing
restart: on-failure
restart: on-failure:5
env_file:
- env/syncthing.env
volumes:

View File

@ -9,7 +9,7 @@ services:
- uptime-kuma
volumes:
- uptimekuma_data:/app/data
restart: on-failure
restart: on-failure:5
networks:
- infra-network
security_opt:

View File

@ -7,7 +7,7 @@ services:
container_name: watchtower
profiles:
- watchtower
restart: on-failure
restart: on-failure:5
networks:
- infra-network
volumes:

View File

@ -7,7 +7,7 @@ services:
container_name: wordpress
profiles:
- wordpress
restart: on-failure
restart: on-failure:5
depends_on:
- wordpress_db
- caddy
@ -30,7 +30,7 @@ services:
- wordpress
depends_on:
- caddy
restart: on-failure
restart: on-failure:5
volumes:
- wordpress_db:/var/lib/mysql:rw
env_file: