2019-02-28 07:31:28 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: setup netdata docker container for system monitoring
|
|
|
|
docker_container:
|
|
|
|
name: netdata
|
2022-11-25 12:55:50 +00:00
|
|
|
image: netdata/netdata:{{ services.netdata.version }}
|
2019-03-03 06:38:00 +00:00
|
|
|
restart_policy: unless-stopped
|
2019-02-28 19:51:30 +00:00
|
|
|
hostname: "hevonen.servers.{{ base_domain }}"
|
2019-02-28 07:31:28 +00:00
|
|
|
capabilities:
|
|
|
|
- SYS_PTRACE
|
|
|
|
security_opts:
|
|
|
|
- apparmor:unconfined
|
|
|
|
volumes:
|
|
|
|
- /proc:/host/proc:ro
|
|
|
|
- /sys:/host/sys:ro
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
networks:
|
|
|
|
- name: external_services
|
|
|
|
env:
|
2022-11-25 12:55:50 +00:00
|
|
|
VIRTUAL_HOST : "{{ services.netdata.domain }}"
|
|
|
|
LETSENCRYPT_HOST: "{{ services.netdata.domain }}"
|
2019-02-28 07:31:28 +00:00
|
|
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
|
|
|
PGID: "999"
|
2019-05-30 16:53:26 +00:00
|
|
|
labels:
|
2022-07-23 13:42:51 +00:00
|
|
|
com.centurylinklabs.watchtower.enable: "true"
|
2019-02-28 07:31:28 +00:00
|
|
|
|
|
|
|
|