配置docker

This commit is contained in:
lizhengwei 2026-02-12 11:11:46 +08:00
parent 06e0f23324
commit dae6405f8e
3 changed files with 3 additions and 5 deletions

View File

@ -60,7 +60,7 @@ spring:
# Redis服务器连接端口
port: 6379
# Redis服务器连接密码默认为空
password: difyai123456
password: abc8800580/
# 连接超时时间
timeout: 10s
lettuce:

View File

@ -65,13 +65,13 @@ services:
- "6379:6379"
volumes:
- 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
environment:
- TZ=Asia/Shanghai
minio:
image: minio/minio:RELEASE.2023-04-13T03-08-07Z
image: minio/minio:RELEASE.2024-06-06T09-36-42Z
container_name: minio
ports:
# api 端口

View File

@ -4,8 +4,6 @@ requirepass abc8800580/
# key 监听器配置
# notify-keyspace-events Ex
# 配置持久化文件存储路径
dir /redis/data
# 配置rdb
# 15分钟内有至少1个key被更改则进行快照
save 900 1