Skip to content

Commit 5a2af4a

Browse files
committed
docker: migrate to mariadb
1 parent c11a9d4 commit 5a2af4a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docker-compose.standalone.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
version: '3'
21
name: zeppelin-prod
32
volumes:
43
mysql-data:
54
services:
65
mysql:
7-
image: mysql:8.0
6+
image: mariadb:11
87
environment:
98
MYSQL_ROOT_PASSWORD: ${STANDALONE_MYSQL_ROOT_PASSWORD?:Missing STANDALONE_MYSQL_ROOT_PASSWORD}
109
MYSQL_DATABASE: zeppelin
@@ -20,7 +19,7 @@ services:
2019
command:
2120
- "--skip-log-bin"
2221
healthcheck:
23-
test: "/usr/bin/mysql --host=127.0.0.1 --user=root --password=\"${STANDALONE_MYSQL_ROOT_PASSWORD}\" --execute \"SHOW DATABASES;\""
22+
test: "/usr/bin/mariadb --host=127.0.0.1 --user=root --password=\"${STANDALONE_MYSQL_ROOT_PASSWORD}\" --execute \"SHOW DATABASES;\""
2423
interval: 1s
2524
timeout: 5s
2625
retries: 60

0 commit comments

Comments
 (0)