fix(deploy): 更新docker-compose配置和数据库连接地址

- 在docker-compose中添加时区环境变量
- 将MySQL和Redis连接地址从localhost改为服务名
- 更新Makefile中的docker compose命令语法
This commit is contained in:
2025-08-05 10:12:29 -07:00
parent 40b8c07036
commit e5b4dc75d7
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ Logger:
Rotation: daily
FileTimeFormat: 2006-01-02T15:04:05.000Z07:00
MySQL:
Addr: localhost:3306
Addr: mysql:3306
Username: root
Password: 123456
Dbname: ppanel
@@ -34,6 +34,6 @@ MySQL:
MaxOpenConns: 10
SlowThreshold: 1000
Redis:
Host: localhost:6379
Host: redis:6379
Pass:
DB: 0