Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: '3'
services:
netdata:
image: netdata/netdata
hostname: saiyans.com.ve # set to fqdn of host
# ports:
# - 19999:19999
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
web:
labels:
- "traefik.docker.network=web"
- "traefik.enable=true"
- "traefik.backend=net_data"
- "traefik.basic.frontend.rule=Host:net.saiyans.com.ve"
- "traefik.frontend.auth.basic.users=aquinuestracredencialcifrada"
- "traefik.basic.port=19999"
networks:
web:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment