Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Monitoring:
command:
- -labels=io.rancher.project.name,io.rancher.project_service.name,io.rancher.container.system,foo
image: usman/container-exporter:v1
ports:
- 9104:9104/tcp
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: monitored=true
volumes:
- /sys/fs/cgroup:/cgroup
- /var/run/docker.sock:/var/run/docker.sock
stdin_open: true
tty: true
prometheus:
ports:
- 9090:9090/tcp
restart: 'no'
tty: true
image: usman/prometheus
links:
Monitoring: monitoring
stdin_open: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.