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:
@@ -12,7 +12,7 @@ DB_PASSWORD=
|
|||||||
# Redis 配置
|
# Redis 配置
|
||||||
REDIS_HOST=127.0.0.1
|
REDIS_HOST=127.0.0.1
|
||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
REDIS_PASSWORD=
|
REDIS_PASSWORD=redis_sSJJPb
|
||||||
REDIS_DATABASE=0
|
REDIS_DATABASE=0
|
||||||
|
|
||||||
# JWT 配置
|
# JWT 配置
|
||||||
|
|||||||
+2
-1
@@ -14,9 +14,10 @@ services:
|
|||||||
- DB_PORT=3306
|
- DB_PORT=3306
|
||||||
- DB_DATABASE=xserver
|
- DB_DATABASE=xserver
|
||||||
- DB_USERNAME=root
|
- DB_USERNAME=root
|
||||||
- DB_PASSWORD=123456
|
- DB_PASSWORD=mysql_xEsdPa
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
- REDIS_PORT=6379
|
- REDIS_PORT=6379
|
||||||
|
- REDIS_PASSWORD=redis_sSJJPb
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user