🐛 Optimized launchpad

This commit is contained in:
2025-12-13 19:28:37 +08:00
parent 4d164ff7bf
commit d830c381d4
2 changed files with 15 additions and 10 deletions

View File

@@ -143,11 +143,15 @@ environment = [
volumes = ["./keys:/app/keys", "./settings/ring.json:/app/appsettings.json"]
expose = ["${RING_PORT}", "${RING_ALTPORT}"]
networks = ["solar-network"]
[services.prod.healthcheck]
test = ["CMD", "curl", "-f", "http://localhost:${RING_PORT}/health"]
interval = "10s"
timeout = "5s"
retries = 5
[services.prod.depends_on]
cache = { condition = "service_healthy" }
queue = { condition = "service_healthy" }
[[services]]
name = "pass"
type = "dotnet"
@@ -168,7 +172,7 @@ networks = ["solar-network"]
[services.prod.depends_on]
cache = { condition = "service_healthy" }
queue = { condition = "service_healthy" }
ring = { condition = "service_healthy" }
[[services]]
name = "sphere"
@@ -190,7 +194,7 @@ networks = ["solar-network"]
[services.prod.depends_on]
cache = { condition = "service_healthy" }
queue = { condition = "service_healthy" }
ring = { condition = "service_healthy" }
[[services]]
name = "drive"
@@ -212,7 +216,7 @@ networks = ["solar-network"]
[services.prod.depends_on]
cache = { condition = "service_healthy" }
queue = { condition = "service_healthy" }
ring = { condition = "service_healthy" }
[[services]]
name = "develop"
@@ -234,7 +238,7 @@ networks = ["solar-network"]
[services.prod.depends_on]
cache = { condition = "service_healthy" }
queue = { condition = "service_healthy" }
ring = { condition = "service_healthy" }
[[services]]
name = "insight"
@@ -256,7 +260,7 @@ networks = ["solar-network"]
[services.prod.depends_on]
cache = { condition = "service_healthy" }
queue = { condition = "service_healthy" }
ring = { condition = "service_healthy" }
[[services]]
name = "zone"
@@ -278,3 +282,4 @@ networks = ["solar-network"]
[services.prod.depends_on]
cache = { condition = "service_healthy" }
queue = { condition = "service_healthy" }
ring = { condition = "service_healthy" }