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
76f12a14c7
commit
46a8e02a1c
@ -58,23 +58,17 @@ services:
|
|||||||
- 8848:8848
|
- 8848:8848
|
||||||
- 9848:9848 #客户端gRPC请求服务端端口,用于客户端向服务端发起连接和请求
|
- 9848:9848 #客户端gRPC请求服务端端口,用于客户端向服务端发起连接和请求
|
||||||
- 9849:9849 #服务端gRPC请求服务端端口,用于服务间同步等
|
- 9849:9849 #服务端gRPC请求服务端端口,用于服务间同步等
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6.2.12
|
image: redis:7 #7.2.4
|
||||||
container_name: redis
|
container_name: redis
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
environment:
|
|
||||||
# 时区上海
|
|
||||||
TZ: Asia/Shanghai
|
|
||||||
volumes:
|
volumes:
|
||||||
# 配置文件
|
- volume_redis_data:/data
|
||||||
- /docker/redis/conf:/redis/config:rw
|
- /docker/redis/conf:/usr/local/etc/redis/redis.conf
|
||||||
# 数据文件
|
command: redis-server /usr/local/etc/redis/redis.conf
|
||||||
- /docker/redis/data/:/redis/data/:rw
|
environment:
|
||||||
command: "redis-server /redis/config/redis.conf"
|
- TZ=Asia/Shanghai
|
||||||
privileged: true
|
|
||||||
network_mode: "host"
|
|
||||||
|
|
||||||
minio:
|
minio:
|
||||||
image: minio/minio:RELEASE.2023-04-13T03-08-07Z
|
image: minio/minio:RELEASE.2023-04-13T03-08-07Z
|
||||||
@ -181,3 +175,4 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
minio_data_volume:
|
minio_data_volume:
|
||||||
minio_config_volume:
|
minio_config_volume:
|
||||||
|
volume_redis_data:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user