Created
February 20, 2019 20:49
-
-
Save moosh3/d434affb8238c6fa3d964952f81ebf11 to your computer and use it in GitHub Desktop.
netdata caddy
This file contains hidden or 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' | |
volumes: | |
caddy: | |
services: | |
caddy: | |
image: abiosoft/caddy | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- /opt/Caddyfile:/etc/Caddyfile | |
- caddy:/root/.caddy | |
environment: | |
ACME_AGREE: 'true' | |
netdata: | |
restart: always | |
hostname: netdata.example.org | |
image: netdata/netdata | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment