feat: add node SSR dual-slot deployment config
This commit is contained in:
@@ -48,6 +48,21 @@ unit = "yms-backend@8081.service"
|
||||
jar = "/home/yms/lib/glory-soft-yms-8081.jar"
|
||||
health_endpoint = "http://127.0.0.1:8081/yms/actuator/health"
|
||||
|
||||
# =============================================================================
|
||||
# Node SSR:容器双槽,宿主 18910/28910,Nginx 逻辑入口 8910
|
||||
# =============================================================================
|
||||
[nodeSsr]
|
||||
type = "container"
|
||||
# stop_grace_seconds = 30
|
||||
|
||||
[nodeSsr.slot.18910]
|
||||
container_name = "node-ssr-18910"
|
||||
health_endpoint = "http://127.0.0.1:18910/health"
|
||||
|
||||
[nodeSsr.slot.28910]
|
||||
container_name = "node-ssr-28910"
|
||||
health_endpoint = "http://127.0.0.1:28910/health"
|
||||
|
||||
# =============================================================================
|
||||
# 方式二:容器后端(切换到容器时,取消注释本块,并注释掉上面的方式一)
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user