Adding healthcheck for mariadb and updating depends_on.
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Check and Create PR (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Docker Compose Test (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Cloudflare DNS Setup (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Update README (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / PR Merge (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Deploy via Docker Compose (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Check and Create PR (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Docker Compose Test (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Cloudflare DNS Setup (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Update README (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / PR Merge (push) Has been cancelled
Gitea Branch PR, SonarQube Analyze, and Merge Workflow / Deploy via Docker Compose (push) Has been cancelled
This commit is contained in:
+19
-4
@@ -556,7 +556,9 @@ services:
|
|||||||
castopod:
|
castopod:
|
||||||
container_name: castopod
|
container_name: castopod
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
required: true
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: castopod
|
MYSQL_DATABASE: castopod
|
||||||
MYSQL_USER: castopod
|
MYSQL_USER: castopod
|
||||||
@@ -1097,7 +1099,7 @@ services:
|
|||||||
container_name: ghost_blog
|
container_name: ghost_blog
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_started
|
condition: service_healthy
|
||||||
required: true
|
required: true
|
||||||
restart: true
|
restart: true
|
||||||
environment:
|
environment:
|
||||||
@@ -1704,7 +1706,7 @@ services:
|
|||||||
container_name: hortusfox
|
container_name: hortusfox
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_started
|
condition: service_healthy
|
||||||
required: true
|
required: true
|
||||||
environment:
|
environment:
|
||||||
APP_ADMIN_EMAIL: charish.patel@trez.wtf
|
APP_ADMIN_EMAIL: charish.patel@trez.wtf
|
||||||
@@ -3026,6 +3028,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: 30s
|
||||||
|
timeout: 3s
|
||||||
|
retries: 5
|
||||||
hostname: Rinoa
|
hostname: Rinoa
|
||||||
image: linuxserver/mariadb
|
image: linuxserver/mariadb
|
||||||
networks:
|
networks:
|
||||||
@@ -3311,6 +3318,10 @@ services:
|
|||||||
volume: {}
|
volume: {}
|
||||||
nextcloud:
|
nextcloud:
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
|
depends_on:
|
||||||
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
required: true
|
||||||
environment:
|
environment:
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
PUID: 1000
|
PUID: 1000
|
||||||
@@ -3423,6 +3434,10 @@ services:
|
|||||||
type: bind
|
type: bind
|
||||||
paperless-ngx:
|
paperless-ngx:
|
||||||
container_name: paperless-ngx
|
container_name: paperless-ngx
|
||||||
|
depends_on:
|
||||||
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
required: true
|
||||||
environment:
|
environment:
|
||||||
PAPERLESS_DBENGINE: mariadb
|
PAPERLESS_DBENGINE: mariadb
|
||||||
PAPERLESS_DBHOST: mariadb
|
PAPERLESS_DBHOST: mariadb
|
||||||
@@ -6070,7 +6085,7 @@ services:
|
|||||||
container_name: wallabag
|
container_name: wallabag
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_started
|
condition: service_healthy
|
||||||
required: true
|
required: true
|
||||||
redis:
|
redis:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|||||||
Reference in New Issue
Block a user