mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 01:25:28 +08:00
配置docker
This commit is contained in:
parent
76f12a14c7
commit
46a8e02a1c
@ -58,23 +58,17 @@ services:
|
||||
- 8848:8848
|
||||
- 9848:9848 #客户端gRPC请求服务端端口,用于客户端向服务端发起连接和请求
|
||||
- 9849:9849 #服务端gRPC请求服务端端口,用于服务间同步等
|
||||
|
||||
redis:
|
||||
image: redis:6.2.12
|
||||
image: redis:7 #7.2.4
|
||||
container_name: redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
environment:
|
||||
# 时区上海
|
||||
TZ: Asia/Shanghai
|
||||
volumes:
|
||||
# 配置文件
|
||||
- /docker/redis/conf:/redis/config:rw
|
||||
# 数据文件
|
||||
- /docker/redis/data/:/redis/data/:rw
|
||||
command: "redis-server /redis/config/redis.conf"
|
||||
privileged: true
|
||||
network_mode: "host"
|
||||
- volume_redis_data:/data
|
||||
- /docker/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
|
||||
@ -181,3 +175,4 @@ services:
|
||||
volumes:
|
||||
minio_data_volume:
|
||||
minio_config_volume:
|
||||
volume_redis_data:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user