Commit c77032a4 authored by 吴文龙's avatar 吴文龙

up

parent 3a383b1c
version: '2.2'
services:
mysql:
image: mysql:8.0.26
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0.26
container_name: iot-mysql
command:
# MySQL8的密码验证方式默认是 caching_sha2_password,但是很多的连接工具还不支持该方式
......@@ -18,7 +18,7 @@ services:
MYSQL_PASSWORD: huansi.net # 新用户的密码
TZ: Asia/Shanghai
ports:
- 3306:3306
- 3307:3306
volumes:
- ./mysql/data:/var/lib/mysql
- ./mysql/conf:/etc/mysql/conf.d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment