config: add Redis password and fix MySQL password

- Update backend/.env: REDIS_PASSWORD=redis_sSJJPb
- Update backend/.env.example: REDIS_PASSWORD=redis_sSJJPb
- Update docker-compose.yml: Add REDIS_PASSWORD and fix DB_PASSWORD to mysql_xEsdPa

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-02-24 21:30:45 +08:00
parent 5aa7825f19
commit 49fa9c3f92
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ DB_PASSWORD=
# Redis 配置
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_PASSWORD=redis_sSJJPb
REDIS_DATABASE=0
# JWT 配置
+2 -1
View File
@@ -14,9 +14,10 @@ services:
- DB_PORT=3306
- DB_DATABASE=xserver
- DB_USERNAME=root
- DB_PASSWORD=123456
- DB_PASSWORD=mysql_xEsdPa
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=redis_sSJJPb
networks:
- 1panel-network
restart: unless-stopped