mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
418c7db202
- davinci-manager-storage:FilePart 路径与基址按 V1 JAR(/portal/file、/part/*、GET /download) - 启动类:扫描 cn.cloudwalk.serial 与 cn.cloudwalk.cwos.client.resource,补 UUIDSerial 与 ApplicationService - deploy:v1/v2 application 中 cloudwalk.serial.enabled、Kafka 指向 192.168.3.12:9092;deploy/.gitignore 忽略日志 - cloudwalk-common-serial:补充 META-INF/spring.factories(Boot 自动配置) - 电梯:Session 配置、Davinci Bean、Feign 包、MQTT/Visitor/Zone Feign;部署脚本与 API parity 工具更新 - 文档与根脚本若干;未纳入大体积 jar/zip 与 v1 CFR 对比目录 Made-with: Cursor Former-commit-id: b76d142d13ebb5c0898de2d9d11bc583876829c2
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
# Consul 单机 Server(Docker),镜像 hashicorp/consul:1.22
|
||
# 在存放本文件的目录执行: docker compose up -d
|
||
# UI / HTTP API: http://<宿主机IP>:8500 (例: 192.168.3.12:8500)
|
||
# 应用侧: spring.cloud.consul.host=<宿主机IP> spring.cloud.consul.port=8500
|
||
services:
|
||
consul:
|
||
image: hashicorp/consul:1.22
|
||
container_name: consul
|
||
restart: unless-stopped
|
||
ports:
|
||
- "8500:8500" # HTTP API / UI
|
||
- "8300:8300" # Server RPC
|
||
- "8301:8301" # LAN Serf
|
||
- "8302:8302/udp"
|
||
- "8302:8302/tcp"
|
||
- "8600:8600/tcp"
|
||
- "8600:8600/udp" # DNS
|
||
command: >
|
||
agent -server -bootstrap-expect=1 -ui
|
||
-client=0.0.0.0
|
||
-bind=0.0.0.0
|
||
-data-dir=/consul/data
|
||
volumes:
|
||
- consul-data:/consul/data
|
||
# 若夸主机访问 RPC 异常,可在宿主机上改为显式 advertise(示例,按实际 IP 修改):
|
||
# command: >
|
||
# agent -server -bootstrap-expect=1 -ui -client=0.0.0.0 -bind=0.0.0.0
|
||
# -advertise=192.168.3.12 -data-dir=/consul/data
|
||
|
||
volumes:
|
||
consul-data:
|