Advertisement
BoogeyCZ

Untitled

Feb 17th, 2019
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.86 KB | None | 0 0
  1.  traefik:
  2.     image: traefik:1.7-alpine
  3.     ports:
  4.     - published: 80
  5.       target: 80
  6.       protocol: tcp
  7.       mode: ingress
  8.     - published: 443
  9.       target: 443
  10.       protocol: tcp
  11.       mode: ingress
  12.     - published: 8080
  13.       target: 8080
  14.       protocol: tcp
  15.       mode: ingress
  16. #    - published: 8443
  17. #      target: 8443
  18. #      protocol: tcp
  19. #      mode: ingress
  20.     networks:
  21.    - traefik
  22.     deploy:
  23.       replicas: 1
  24.       placement:
  25.         constraints:
  26.        - node.role == manager
  27.       labels:
  28.      - "traefik.docker.network=utils_traefik"
  29.       - "traefik.enable=true"
  30.       - "traefik.port=8081"
  31.       - "traefik.frontend.rule=Host: traefik.int.tucnak.eu"
  32.    volumes:
  33.    - /var/run/docker.sock:/var/run/docker.sock
  34.    - /data/docker/traefik/traefik.toml:/traefik.toml
  35.    - /data/docker/traefik/acme.json:/acme.json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement