feat: bumb mysql container image version to 8.0.32

This commit is contained in:
Wing-Kam Wong
2023-01-26 17:24:51 +08:00
parent 002d317ef0
commit 410e71e5bd
4 changed files with 24 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ services:
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: noco
image: "mysql:5.7"
image: "mysql:8.0.32"
deploy:
resources:
limits:

View File

@@ -27,7 +27,7 @@ services:
- "-h"
- localhost
timeout: 20s
image: "mysql:5.7"
image: "mysql:8.0.32"
restart: always
volumes:
- "db_data:/var/lib/mysql"

View File

@@ -46,7 +46,7 @@ services:
- "-h"
- localhost
timeout: 20s
image: "mysql:5.7"
image: "mysql:8.0.32"
networks:
- default
restart: always

View File

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