mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
8.0.21-debian-10-r16 release
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
version: '2'
|
||||
version: '2.1'
|
||||
|
||||
services:
|
||||
mysql-master:
|
||||
@@ -15,6 +15,12 @@ services:
|
||||
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
- MYSQL_ROOT_PASSWORD=my_root_password
|
||||
healthcheck:
|
||||
test: ['CMD', '/opt/bitnami/scripts/mysql/healthcheck.sh']
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 6
|
||||
|
||||
mysql-slave:
|
||||
image: 'docker.io/bitnami/mysql:8.0-debian-10'
|
||||
ports:
|
||||
@@ -31,6 +37,11 @@ services:
|
||||
- MYSQL_MASTER_ROOT_PASSWORD=my_root_password
|
||||
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
healthcheck:
|
||||
test: ['CMD', '/opt/bitnami/scripts/mysql/healthcheck.sh']
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 6
|
||||
|
||||
volumes:
|
||||
mysql_master_data:
|
||||
|
||||
Reference in New Issue
Block a user