You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to configure traefik for my project only by flags, in order to limit my configuration file to a simple docker-compose.
This is an extract of my docker-compose file.
I wanted to configure traefik for my project only by flags, in order to limit my configuration file to a simple docker-compose.
This is an extract of my docker-compose file.
service-front:
labels:
- "traefik.backend=front"
- "traefik.port=80"
- "traefik.frontend.rule=Host:domain.com"
- "traefik.frontend.entryPoints=http,https"
image: kebuu/zenquizz-front:dev
traefik:
image: traefik
command: --web --docker --acme --acme.domains=domain.com --acme.email=test@traefik.io --entryPoints='Name:http Address::80 Redirect.EntryPoint:https' --entryPoints='Name:https Address::443 TLS' --acme.storagefile=acme.json --docker.domain=localhost --logLevel=DEBUG
ports:
- "80:80"
- "443:443"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /dev/null:/traefik.toml
- /opt/acme/acme.json:/acme.json
labels:
- "traefik.enable=false"
In my logs I could see that TLS option was not set:
"https":{"Network":"","Address":":443","TLS":null,"Redirect":null}}
The text was updated successfully, but these errors were encountered: