docker配置

This commit is contained in:
Github_lizhw 2026-02-11 22:51:17 +08:00
parent a94351ebee
commit 1bf6f34dbe

View File

@ -49,6 +49,16 @@ services:
privileged: true
network_mode: "host"
nacos-registry:
image: nacos/nacos-server:v2.1.0
container_name: nacos-registry
environment:
- "MODE=standalone"
ports:
- 8848:8848
- 9848:9848 #客户端gRPC请求服务端端口用于客户端向服务端发起连接和请求
- 9849:9849 #服务端gRPC请求服务端端口用于服务间同步等
redis:
image: redis:6.2.12
container_name: redis