Some compose file fixes for telegraf, SC-2522

This commit is contained in:
Patrik Holmqvist 2025-03-25 16:04:14 +01:00
parent 237b6cf087
commit df0b334edc
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -1,7 +1,7 @@
---
services:
telegraf:
image: docker.sunet.se/test-my-eid:<%= @version %>
image: docker.sunet.se/eduid/telegraf:<%= @version %>
container_name: telegraf
environment:
- INFLUXDB2_TOKEN=<%= @influxdb2_token %>
@ -18,8 +18,10 @@ services:
- '/etc/ssl:/etc/ssl'
- '/dev/log:/dev/log'
- '/var/log:/var/log'
- <%= @service_dir %>:<%= @service_dir %>
- '<%= @service_dir %>:<%= @service_dir %>'
- '/var/run/utmp:/var/run/utmp:ro'
<% if @ports != [] -%>
ports:
- <%= @ports %>
<% end -%>