This commit is contained in:
PB
2025-03-16 14:19:29 +01:00
parent 6848b55101
commit fa62c0b817
9 changed files with 60 additions and 211 deletions

View File

@@ -9,7 +9,7 @@ import (
)
func main() {
addr, port := env("API_REGISTRY_ADDR", "api-registry"), env("API_REGISTRY_PORT", "8501")
addr, port := env("REGISTRY_ADDR", "api-registry"), env("API_REGISTRY_PORT", "8501")
regUrl := "https://" + addr + ":" + port + "/v1/agent/service/register?replace-existing-checks=true"
regData, err := os.ReadFile("/.app.config")
if err != nil {