Adding restart true for services dependent on mariadb.

This commit is contained in:
2025-01-14 12:42:52 -05:00
parent 8437218a97
commit 52bd1fa698
+11 -3
View File
@@ -556,7 +556,10 @@ services:
castopod:
container_name: castopod
depends_on:
- mariadb
mariadb:
condition: service_healthy
required: true
restart: true
environment:
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
@@ -1704,7 +1707,7 @@ services:
container_name: hortusfox
depends_on:
mariadb:
condition: service_started
condition: service_healthy
required: true
restart: true
environment:
@@ -3027,6 +3030,11 @@ services:
PUID: 1000
TZ: America/New_York
MYSQL_PASSWORD: VQU23wHKRNmfpAPt5E9BxMaSGJdWjLuz
healthcheck:
test: "/usr/bin/mariadb -u root -p${MARIADB_ENVIRONMENT_MYSQL_ROOT_PASSWORD} -e \"SHOW DATABASES;\""
interval: 10s
timeout: 5s
retries: 3
hostname: Rinoa
image: ghcr.io/linuxserver/mariadb
networks:
@@ -6081,7 +6089,7 @@ services:
container_name: wallabag
depends_on:
mariadb:
condition: service_started
condition: service_healthy
required: true
restart: true
redis: