29 lines
704 B
YAML
29 lines
704 B
YAML
|
svc:
|
||
|
name: telegraf
|
||
|
influxdb:
|
||
|
url: "https://tick.serguzim.me"
|
||
|
token: "{{ vault_telegraf.influxdb_token }}"
|
||
|
organization: serguzim.net
|
||
|
bucket: metrics
|
||
|
prometheus:
|
||
|
urls:
|
||
|
- https://git.serguzim.me/metrics
|
||
|
- https://matrix.msrg.cc/_synapse/metrics
|
||
|
- https://tick.serguzim.me/metrics
|
||
|
bearer_token: "{{ vault_metrics_token }}"
|
||
|
postgresql:
|
||
|
user: "{{ vault_telegraf.db.user }}"
|
||
|
pass: "{{ vault_telegraf.db.pass }}"
|
||
|
host: "{{ postgres.host }}"
|
||
|
port: "{{ postgres.port }}"
|
||
|
database: "telegraf"
|
||
|
|
||
|
compose:
|
||
|
watchtower: false
|
||
|
image: telegraf:1.28
|
||
|
volumes:
|
||
|
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
|
||
|
file:
|
||
|
volumes:
|
||
|
data:
|