Created
January 22, 2019 22:26
-
-
Save Leopere/d5555d39f8ab2b00b514843ccbd2e322 to your computer and use it in GitHub Desktop.
This won't work out of the box but shows you a baseline.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
networks: | |
traefik: | |
external: true | |
services: | |
netdata: | |
image: titpetric/netdata | |
labels: | |
# https://docs.traefik.io/user-guide/docker-and-lets-encrypt/ | |
- "traefik.backend=netdata" | |
- "traefik.docker.network=traefik" | |
- "traefik.frontend.rule=Host:netdata.example.com" | |
- "traefik.expose=true" | |
- "traefik.port=19999" | |
hostname: netdata.example.com | |
cap_add: | |
- SYS_PTRACE | |
volumes: | |
- /proc:/host/proc:ro | |
- /sys:/host/sys:ro | |
expose: | |
- 19999 | |
restart: always | |
networks: | |
traefik: | |
ipv4_address: 10.5.0.25 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment