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