mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
配置docker
This commit is contained in:
parent
06e0f23324
commit
dae6405f8e
@ -60,7 +60,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: difyai123456
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
@ -65,13 +65,13 @@ services:
|
|||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
volumes:
|
volumes:
|
||||||
- volume_redis_data:/data
|
- volume_redis_data:/data
|
||||||
- /docker/redis/conf:/usr/local/etc/redis/redis.conf
|
- ./redis/conf/redis.conf:/usr/local/etc/redis/redis.conf
|
||||||
command: redis-server /usr/local/etc/redis/redis.conf
|
command: redis-server /usr/local/etc/redis/redis.conf
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
|
|
||||||
minio:
|
minio:
|
||||||
image: minio/minio:RELEASE.2023-04-13T03-08-07Z
|
image: minio/minio:RELEASE.2024-06-06T09-36-42Z
|
||||||
container_name: minio
|
container_name: minio
|
||||||
ports:
|
ports:
|
||||||
# api 端口
|
# api 端口
|
||||||
|
|||||||
@ -4,8 +4,6 @@ requirepass abc8800580/
|
|||||||
# key 监听器配置
|
# key 监听器配置
|
||||||
# notify-keyspace-events Ex
|
# notify-keyspace-events Ex
|
||||||
|
|
||||||
# 配置持久化文件存储路径
|
|
||||||
dir /redis/data
|
|
||||||
# 配置rdb
|
# 配置rdb
|
||||||
# 15分钟内有至少1个key被更改则进行快照
|
# 15分钟内有至少1个key被更改则进行快照
|
||||||
save 900 1
|
save 900 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user