-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Description
this command work correctly
docker service create --name whoami3 --network proxy --label traefik.docker.network=proxy \
--label traefik.enable=true \
--label traefik.basic.frontend.rule=Host:test.example.com \
--label traefik.basic.port=80 \
--label traefik.admin.frontend.rule=Host:admin.test.example.com \
--label traefik.admin.port=443 \
--label traefik.admin.protocol=https \
--label traefik.acme.domains=test.example.com \
emilevauge/whoami
if i add to the previous command the parameter
--label traefik.basic.protocol=http
domain reports 404
In addition sincerely the documentation about parameters passed by command it is not clear . I would
add some words more for explaining the logic how to write label parameters.
I realized a docker image for traefik executed by traefik user (not root).Security best practives suggest to not use root also inside docker. You can find it in my github repo. You can copy if you want