-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
What version of Traefik are you using (traefik version)?
docker - traefik:latest
What is your environment & configuration (arguments, toml...)?
Trafik (proxy.yaml)
version: "3.0"
services:
traefik:
image: traefik
networks:
- proxy
command: --web --docker.swarmmode --docker.domain=berndklaus.at --docker.watch --docker.endpoint=unix://var/run/docker.sock
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
#- ./traefik.toml:/etc/traefik/traefik.toml
deploy:
mode: global
placement:
constraints:
- node.role == manager
networks:
proxy:
external: true
WhoamI (whoami.yaml)
networks:
proxy:
external: true
root@swarm1:~# cat whoami.yaml
version: "3"
services:
web:
image: emilevauge/whoami
networks:
- proxy
deploy:
labels:
- "traefik.port=80"
- "traefik.docker.network=proxy"
- "traefik.frontend.rule=Host:whoami.berndklaus.at"
replicas: 3
networks:
proxy:
external: true
What i wanna do:
Would like to enable SSL (Letsencrypt Support).
I'm new to traefik, and i do miss information:
- on howto add an costum configuration (.toml) within a docker compose swarm
- list of commands available. (I'm not able to exec into the container)
- do i need a costum configuration to enable Letsencrypt?
- if i do use a costum config, does the from docker backend generated config changes extend the costum config or otherwrite them?
May someone can help me ;)
Reactions are currently unavailable