fix(dbSer): 更新Redis和MySQL配置及添加代理服务

为Redis添加密码认证并更新MySQL镜像标签和字符集配置
新增webout代理服务配置
This commit is contained in:
cnphpbb
2025-08-15 16:08:32 +08:00
parent eca6eef6ca
commit d31a2982b3
4 changed files with 27 additions and 7 deletions

View File

@@ -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: