This commit is contained in:
2026-01-30 16:59:11 +08:00
parent 4609219a4d
commit 61c87e40fb
4 changed files with 93 additions and 93 deletions

View File

@@ -11,13 +11,13 @@ services:
MYSQL_USER: tyass
MYSQL_PASSWORD: 5vg67b3UNHu8
ports:
- "21001:3306"
- "27101:3306"
volumes:
# 数据挂载 - Data mounting
- ./data/mysql/data:/var/lib/mysql
# 日志
command:
# 将mysql8.0默认密码策略 修改为 原先 策略 (mysql8.0对其默认策略做了更改 会导致密码无法匹配)
# 将mysql8.0默认密码策略 修改为 原先 策略 (mysql8.0对其默认策略做了更改 会导致密码无法匹配)
# Modify the Mysql 8.0 default password strategy to the original strategy (MySQL8.0 to change its default strategy will cause the password to be unable to match)
--default-authentication-plugin=mysql_native_password
--character-set-server=utf8mb4
@@ -32,7 +32,7 @@ services:
image: redis:7.4.0
container_name: tyass_redis
ports:
- "21002:6379"
- "27102:6379"
environment:
# 时区上海 - Time zone Shanghai (Change if needed)
TZ: Asia/Shanghai
@@ -49,12 +49,12 @@ services:
image: hibiken/asynqmon:latest
container_name: tyass_asynqmon
ports:
- "21003:8080"
- "27103:8080"
environment:
- TZ=Asia/Shanghai
command:
- '--redis-addr=tyass_redis:6379'
- '--redis-password=3m3WsgyCKWqz'
- "--redis-addr=tyass_redis:6379"
- "--redis-password=3m3WsgyCKWqz"
restart: always
networks:
- tyass_net
@@ -71,7 +71,7 @@ services:
PMA_USER: tyass
PMA_PASSWORD: 5vg67b3UNHu8
ports:
- "21004:80"
- "27104:80"
depends_on:
- mysql
networks: