Update
This commit is contained in:
parent
05753d63b3
commit
949211cd6f
11
.app.config
11
.app.config
@ -1,13 +1,14 @@
|
||||
{
|
||||
"ID": "api-gateway",
|
||||
"Name": "api-gateway",
|
||||
"ID": "gateway",
|
||||
"Name": "gw",
|
||||
"Address": "__IP__",
|
||||
"Tags": ["api-gateway", "gateway", "https", "traefik"],
|
||||
"Port": 443,
|
||||
"Kind": "ingress-gateway",
|
||||
"Check": {
|
||||
"HTTP": "http://__IP__:443/ping",
|
||||
"Interval": "10s",
|
||||
"HTTP": "http://__IP__:8080/ping",
|
||||
"Interval": "5s",
|
||||
"Timeout": "1s",
|
||||
"Status": "passing",
|
||||
"DeregisterCriticalServiceAfter": "10s"
|
||||
}
|
||||
}
|
@ -17,7 +17,7 @@ waitForService()
|
||||
done
|
||||
}
|
||||
|
||||
waitForService "api-registry:8500"
|
||||
waitForService "api-registry:8501"
|
||||
# waitForService "api-registry:${API_REGISTRY_UI_PORT}"
|
||||
|
||||
set -e
|
||||
|
@ -4,6 +4,8 @@ tls:
|
||||
keyFile: "/etc/traefik/certs/gw.key"
|
||||
- certFile: "/etc/traefik/certs/gw.local.crt"
|
||||
keyFile: "/etc/traefik/certs/gw.key"
|
||||
- certFile: "/etc/traefik/certs/eventbus.internal.crt"
|
||||
keyFile: "/etc/traefik/certs/eventbus.key"
|
||||
stores:
|
||||
default:
|
||||
defaultCertificate:
|
||||
|
@ -33,7 +33,8 @@ entryPoints:
|
||||
serversTransport:
|
||||
insecureSkipVerify: true # dev only...
|
||||
rootCAs:
|
||||
- /etc/traefik/certs/gw.internal.crt
|
||||
# - /etc/traefik/certs/internalCA.crt
|
||||
- /usr/local/share/ca-certificates/internalCA.crt
|
||||
|
||||
################################################################
|
||||
ping:
|
||||
|
Loading…
Reference in New Issue
Block a user