added node_exporter to stack
This commit is contained in:
parent
d75c978d3f
commit
0c21da9a40
@ -9,6 +9,7 @@ deploy_adguard_enable_dot: false
|
|||||||
deploy_adguard_enable_doq: false
|
deploy_adguard_enable_doq: false
|
||||||
deploy_adguard_enable_dnscrypt: false
|
deploy_adguard_enable_dnscrypt: false
|
||||||
deploy_adguard_start_service: false
|
deploy_adguard_start_service: false
|
||||||
|
deploy_adguard_node_exporter: false
|
||||||
deploy_adguard_virtual_ip:
|
deploy_adguard_virtual_ip:
|
||||||
enable: false
|
enable: false
|
||||||
interface: eth0
|
interface: eth0
|
||||||
|
@ -12,8 +12,8 @@ services:
|
|||||||
STATE: "BACKUP"
|
STATE: "BACKUP"
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
adguard:
|
adguard:
|
||||||
image: adguard/adguardhome:latest
|
image: adguard/adguardhome:latest
|
||||||
ports:
|
ports:
|
||||||
@ -50,6 +50,25 @@ services:
|
|||||||
- data:/opt/adguardhome/work
|
- data:/opt/adguardhome/work
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
{% if deploy_adguard_node_exporter %}
|
||||||
|
|
||||||
|
node_exporter:
|
||||||
|
image: ebrianne/adguard-exporter:latest
|
||||||
|
environment:
|
||||||
|
- adguard_protocol=http
|
||||||
|
- adguard_hostname=192.168.10.252
|
||||||
|
- adguard_username=admin
|
||||||
|
- adguard_password=/run/secrets/my-adguard-pass
|
||||||
|
- adguard_port= #optional
|
||||||
|
- server_port=9617
|
||||||
|
- interval=10s
|
||||||
|
- log_limit=10000
|
||||||
|
- password_from_file=true
|
||||||
|
ports:
|
||||||
|
- "9617:9617"
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
Loading…
Reference in New Issue
Block a user