Adding restart true for services dependent on mariadb.
This commit is contained in:
+11
-3
@@ -556,7 +556,10 @@ services:
|
|||||||
castopod:
|
castopod:
|
||||||
container_name: castopod
|
container_name: castopod
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
required: true
|
||||||
|
restart: true
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: castopod
|
MYSQL_DATABASE: castopod
|
||||||
MYSQL_USER: castopod
|
MYSQL_USER: castopod
|
||||||
@@ -1704,7 +1707,7 @@ services:
|
|||||||
container_name: hortusfox
|
container_name: hortusfox
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_started
|
condition: service_healthy
|
||||||
required: true
|
required: true
|
||||||
restart: true
|
restart: true
|
||||||
environment:
|
environment:
|
||||||
@@ -3027,6 +3030,11 @@ services:
|
|||||||
PUID: 1000
|
PUID: 1000
|
||||||
TZ: America/New_York
|
TZ: America/New_York
|
||||||
MYSQL_PASSWORD: VQU23wHKRNmfpAPt5E9BxMaSGJdWjLuz
|
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
|
hostname: Rinoa
|
||||||
image: ghcr.io/linuxserver/mariadb
|
image: ghcr.io/linuxserver/mariadb
|
||||||
networks:
|
networks:
|
||||||
@@ -6081,7 +6089,7 @@ services:
|
|||||||
container_name: wallabag
|
container_name: wallabag
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_started
|
condition: service_healthy
|
||||||
required: true
|
required: true
|
||||||
restart: true
|
restart: true
|
||||||
redis:
|
redis:
|
||||||
|
|||||||
Reference in New Issue
Block a user