Some compose file fixes for telegraf, SC-2522
This commit is contained in:
parent
237b6cf087
commit
df0b334edc
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
telegraf:
|
telegraf:
|
||||||
image: docker.sunet.se/test-my-eid:<%= @version %>
|
image: docker.sunet.se/eduid/telegraf:<%= @version %>
|
||||||
container_name: telegraf
|
container_name: telegraf
|
||||||
environment:
|
environment:
|
||||||
- INFLUXDB2_TOKEN=<%= @influxdb2_token %>
|
- INFLUXDB2_TOKEN=<%= @influxdb2_token %>
|
||||||
|
@ -18,8 +18,10 @@ services:
|
||||||
- '/etc/ssl:/etc/ssl'
|
- '/etc/ssl:/etc/ssl'
|
||||||
- '/dev/log:/dev/log'
|
- '/dev/log:/dev/log'
|
||||||
- '/var/log:/var/log'
|
- '/var/log:/var/log'
|
||||||
- <%= @service_dir %>:<%= @service_dir %>
|
- '<%= @service_dir %>:<%= @service_dir %>'
|
||||||
- '/var/run/utmp:/var/run/utmp:ro'
|
- '/var/run/utmp:/var/run/utmp:ro'
|
||||||
|
|
||||||
|
<% if @ports != [] -%>
|
||||||
ports:
|
ports:
|
||||||
- <%= @ports %>
|
- <%= @ports %>
|
||||||
|
<% end -%>
|
||||||
|
|
Loading…
Add table
Reference in a new issue