use cadvisor
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Torma Kristóf 2022-05-29 22:51:55 +02:00
parent bac7dbda24
commit a63f359d6f
2 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,3 @@
{
"userland-proxy": false,
"metrics-addr" : "0.0.0.0:9323",
"experimental" : true
"userland-proxy": false
}

View File

@ -6,6 +6,7 @@
name:
- docker.io
- docker-compose
- cadvisor
- name: Disable userland proxy
copy:
@ -21,6 +22,12 @@
state: restarted
enabled: yes
- name: Enable and restart cadvisor
service:
name: cadvisor
state: restarted
enabled: yes
- name: "Add service user to docker group"
ansible.builtin.user:
name: service-user
@ -31,7 +38,7 @@
- name: Allow docker exporter via ufw
community.general.ufw:
rule: allow
port: 9323
port: "4194"
proto: tcp
src: 192.168.69.0/24
...