Skip to content

Commit 5a4f4c8

Browse files
author
Jay Payne
committedMar 29, 2025
Update to mariadb 11
1 parent 2e98c34 commit 5a4f4c8

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed
 

‎docker-compose.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
- minio
2929
- meilisearch
3030
mariadb:
31-
image: 'mariadb:10'
31+
image: 'mariadb:11'
3232
ports:
3333
- '${FORWARD_DB_PORT:-3306}:3306'
3434
environment:
@@ -45,11 +45,7 @@ services:
4545
networks:
4646
- sail
4747
healthcheck:
48-
test:
49-
- CMD
50-
- mysqladmin
51-
- ping
52-
- '-p${DB_PASSWORD}'
48+
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
5349
retries: 3
5450
timeout: 5s
5551
redis:
@@ -142,12 +138,7 @@ services:
142138
networks:
143139
- sail
144140
healthcheck:
145-
test:
146-
- CMD
147-
- wget
148-
- '--no-verbose'
149-
- '--spider'
150-
- 'http://meilisearch:7700/health'
141+
test: ["CMD", "wget", "--no-verbose", "--spider", "http://127.0.0.1:7700/health"]
151142
retries: 3
152143
timeout: 5s
153144
networks:

0 commit comments

Comments
 (0)