|
|
@ -19,28 +19,32 @@ services: |
|
|
|
# - 3356:3306 |
|
|
|
# - 3356:3306 |
|
|
|
# volumes: |
|
|
|
# volumes: |
|
|
|
# - ./mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
# - ./mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
db57: |
|
|
|
# db57: |
|
|
|
image: mysql:5.7 |
|
|
|
# image: mysql:5.7 |
|
|
|
|
|
|
|
# restart: always |
|
|
|
|
|
|
|
# environment: |
|
|
|
|
|
|
|
# MYSQL_ROOT_PASSWORD: password |
|
|
|
|
|
|
|
# ports: |
|
|
|
|
|
|
|
# - 3357:3306 |
|
|
|
|
|
|
|
# volumes: |
|
|
|
|
|
|
|
# - ./tests/mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
|
|
|
|
# healthcheck: |
|
|
|
|
|
|
|
# test: "/etc/init.d/mysql status" |
|
|
|
|
|
|
|
# interval: 1s |
|
|
|
|
|
|
|
# retries: 240 |
|
|
|
|
|
|
|
db8032: |
|
|
|
|
|
|
|
image: mysql:8.0.32 |
|
|
|
restart: always |
|
|
|
restart: always |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
MYSQL_ROOT_PASSWORD: password |
|
|
|
MYSQL_ROOT_PASSWORD: password |
|
|
|
ports: |
|
|
|
ports: |
|
|
|
- 3357:3306 |
|
|
|
- 3380:3306 |
|
|
|
volumes: |
|
|
|
volumes: |
|
|
|
- ./tests/mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
- ./tests/mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
healthcheck: |
|
|
|
healthcheck: |
|
|
|
test: "/etc/init.d/mysql status" |
|
|
|
test: "/etc/init.d/mysql status" |
|
|
|
interval: 1s |
|
|
|
interval: 1s |
|
|
|
retries: 240 |
|
|
|
retries: 240 |
|
|
|
# db80: |
|
|
|
|
|
|
|
# image: mysql:8.0 |
|
|
|
|
|
|
|
# restart: always |
|
|
|
|
|
|
|
# environment: |
|
|
|
|
|
|
|
# MYSQL_ROOT_PASSWORD: password |
|
|
|
|
|
|
|
# ports: |
|
|
|
|
|
|
|
# - 3380:3306 |
|
|
|
|
|
|
|
# volumes: |
|
|
|
|
|
|
|
# - ./mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
|
|
|
|
# maria102: |
|
|
|
# maria102: |
|
|
|
# image: mariadb:10.2 |
|
|
|
# image: mariadb:10.2 |
|
|
|
# restart: always |
|
|
|
# restart: always |
|
|
|