forked from DevOps/deploy.stack
fix(dbSer): 更新Redis和MySQL配置及添加代理服务
为Redis添加密码认证并更新MySQL镜像标签和字符集配置 新增webout代理服务配置
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Pull:: docker compose --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml pull
|
||||
# Run:: docker compose -p dbSer --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml up -d
|
||||
# Run:: docker compose -p mysql --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml up -d
|
||||
|
||||
services:
|
||||
mysql:
|
||||
image: ${IMAGE_TAG_LTS}
|
||||
image: ${IMAGE_TAG_V9}
|
||||
container_name: prod-mysql
|
||||
restart: always
|
||||
environment:
|
||||
@@ -15,8 +15,8 @@ services:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3306:3306"
|
||||
command:
|
||||
#command: --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --default-authentication-plugin=mysql_native_password
|
||||
#command:
|
||||
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci
|
||||
|
||||
volumes:
|
||||
mysql_data:
|
||||
|
||||
Reference in New Issue
Block a user