Hi guys,
Have a weird error with my Traefik instance giving me an error for the router https@file and I just dont know where this router is coming from.
docker-compose.yaml
version: "3.7"
services:
traefik:
image: "traefik:v2.0.2"
deploy:
resources:
limits:
cpus: "0.10"
memory: "120m"
reservations:
memory: "50m"
restart_policy:
condition: any
ports:
- "80:80"
- "8080:8080"
- "443:443"
secrets:
- source: traefik_cert
target: /tls/cert.cert
uid: "0"
mode: 400
- source: traefik_key
target: /tls/key.key
uid: "0"
mode: 400
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- ./traefik.toml:/traefik.toml:ro
- ./dynamic.toml:/dynamic.toml
networks:
- services
secrets:
traefik_cert:
external: true
traefik_key:
external: true
networks:
services:
external: true
traefik.toml
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[providers.file]
filename = "/dynamic.toml"
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
[api]
dashboard = true
insecure = true
[log]
level = "ERROR"
dynamic.toml
[http.routers]
[http.routers.https]
[http.routers.https.tls]
options = "TLSOptions"
entryPoints = [ "https" ]
[[tls.certificates]]
certFile = "/tls/cert.cert"
keyFile = "/tls/key.key"
[tls.stores]
[tls.stores.default.defaultCertificate]
certFile = "/tls/cert.cert"
keyFile = "/tls/key.key"
[tls.options]
[tls.options.default]
minVersion = "VersionTLS12"
[tls.options.TLSOptions]
minVersion = "VersionTLS13"
cipherSuites = [
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"TLS_RSA_WITH_AES_256_GCM_SHA384"
]
Here is the log entry from the container
time="2019-10-18T09:41:49Z" level=error msg="the service is missing on the router" routerName=https@file entryPointName=https
I've tried everything to work out whats going on with these but cant find where Traefik is getting it from.
Cheers
Tom