mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
add 优化 增加 redis 配置文件
This commit is contained in:
@ -65,10 +65,10 @@ services:
|
||||
TZ: Asia/Shanghai
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/redis/conf/redis.conf:/redis.conf:rw
|
||||
- /docker/redis/conf:/redis/config:rw
|
||||
# 数据文件
|
||||
- /docker/redis/data:/data:rw
|
||||
command: "redis-server --appendonly yes"
|
||||
- /docker/redis/data:/redis/data:rw
|
||||
command: "redis-server /redis/config/redis.conf --appendonly yes"
|
||||
privileged: true
|
||||
restart: always
|
||||
networks:
|
||||
|
Reference in New Issue
Block a user