Hi there
its probably only a small thing, but I dont find it...
I´m trying to set up a traefik config with DNS-Challenge.
The challenge is working (I have certs for all the domains), but somehow neither the dashboard nor the intendet nextcloud is working.
First step is the dashboard.
Here is my docker-compose
version: '3'
services:
traefik:
image: traefik:latest
container_name: traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
# networks:
# - traefik_web
ports:
- 80:80
- 8080:8080
- 443:443
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data/traefik.yml:/traefik.yml:ro
- ./data/acme.json:/acme.json
- ./data/dynamic_conf.yml:/dynamic_conf.yml
- ./logs/:/logs/
environment:
- DESEC_TOKEN=*******************************
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedByDefault=false"
- "--providers.docker.network=traefik_web"
- "--entrypoints.http.address=:80"
- "--entrypoints.http.http.redirections.entrypoint.to=web"
- "--entrypoints.http.http.redirections.entrypoint.to.scheme=websecure"
- "--entrypoints.websecure.address=:443"
- "--log.filePath=/logs/traefik.log"
- "--accesslog=true"
- "--accesslog.filePath=/logs/access.log"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.traefik-auth.basicauth.users=user:***********************************"
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.traefik.entrypoints=web"
- "traefik.http.routers.traefik.rule=Host(`domain.eu`,`traefik.domain.eu`,`192.168.0.222`)"
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
- "traefik.http.routers.traefik-secure.entrypoints=websecure"
- "traefik.http.routers.traefik-secure.rule=Host(`domain.eu`,traefik.domain.eu,`192.168.0.222`)"
- "traefik.http.routers.traefik-secure.tls=true"
- "traefik.http.routers.traefik-secure.tls.certresolver=desec"
- "traefik.http.routers.traefik-secure.tls.domains[0].main=domain.eu"
- "traefik.http.routers.traefik-secure.tls.domains[0].sans=*.domain.eu"
- "traefik.http.routers.traefik-secure.service=api@internal"
- "traefik.http.routers.traefik-secure.middlewares=secHeaders@file,traefik-auth"
- "providers.file.filename=/dynamic_conf.yml"
#networks:
# traefik_web:
# external: true
and the traefik.yml
log:
# level: error
level: debug
api:
dashboard: true
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
file:
filename: "./dynamic_conf.yml"
certificatesResolvers:
desec:
acme:
email: me@home
storage: acme.json
dnsChallenge:
provider: desec
delayBeforeCheck: 90
resolvers:
- "212.227.123.17:53"
- "212.227.123.18:53"
I´m blind - where is my error?
Thanks
Logg.Sar