Advertisement
BoogeyCZ

Untitled

Feb 17th, 2019
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.67 KB | None | 0 0
  1.  grafana:
  2.     image: grafana/grafana:5.4.3
  3.     networks:
  4.      - default
  5.       - utils_traefik
  6.     deploy:
  7.       replicas: 1
  8.       restart_policy:
  9.         condition: on-failure
  10.         delay: 5s
  11.         max_attempts: 5
  12.         window: 60s
  13.       placement:
  14.         constraints:
  15.        - node.platform.arch == x86_64
  16.       labels:
  17.      - "traefik.enable=true"
  18.       - "traefik.docker.network=utils_traefik"
  19.       - "traefik.port=3000"
  20.       - "traefik.frontend.rule=Host: grafana.int.tucnak.eu"
  21.    volumes:
  22.      - /data/docker/grafana/config:/etc/grafana:ro
  23.      - /data/docker/grafana/data:/var/lib/grafana
  24.      #- /data/docker/grafana/log:/var/log/grafana
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement