Skip to content

Instantly share code, notes, and snippets.

@tomasmetal23
Created April 3, 2020 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomasmetal23/eaf448e56bc275985f0457eaeb0db089 to your computer and use it in GitHub Desktop.
Save tomasmetal23/eaf448e56bc275985f0457eaeb0db089 to your computer and use it in GitHub Desktop.
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