Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- traefik:
- image: traefik:1.7-alpine
- ports:
- - published: 80
- target: 80
- protocol: tcp
- mode: ingress
- - published: 443
- target: 443
- protocol: tcp
- mode: ingress
- - published: 8080
- target: 8080
- protocol: tcp
- mode: ingress
- # - published: 8443
- # target: 8443
- # protocol: tcp
- # mode: ingress
- networks:
- - traefik
- deploy:
- replicas: 1
- placement:
- constraints:
- - node.role == manager
- labels:
- - "traefik.docker.network=utils_traefik"
- - "traefik.enable=true"
- - "traefik.port=8081"
- - "traefik.frontend.rule=Host: traefik.int.tucnak.eu"
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - /data/docker/traefik/traefik.toml:/traefik.toml
- - /data/docker/traefik/acme.json:/acme.json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement