mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-22 05:02:57 +00:00
fix: 移除Redis密码环境变量并改用硬编码密码
This commit is contained in:
+1
-2
@@ -37,13 +37,12 @@ services:
|
||||
restart: always
|
||||
environment:
|
||||
TZ: "Asia/Shanghai"
|
||||
REDIS_PASSWORD: "FastApi123abc"
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
# 挂载Redis配置文件,实现自定义配置
|
||||
- ./devops/redis/data:/data
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
command: redis-server --requirepass FastApi123abc
|
||||
networks:
|
||||
- app_network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user