mirror of
https://github.com/luzifer-ansible/netdata.git
synced 2024-12-23 01:21:18 +00:00
Fix: The environment needs to be loaded into the container
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
909d4cea91
commit
2083a8121e
1 changed files with 1 additions and 2 deletions
|
@ -39,8 +39,6 @@
|
||||||
[Service]
|
[Service]
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
EnvironmentFile=-/etc/netdata/environment
|
|
||||||
|
|
||||||
ExecStartPre=/usr/bin/docker pull quay.io/luzifer/netdata
|
ExecStartPre=/usr/bin/docker pull quay.io/luzifer/netdata
|
||||||
ExecStartPre=-/usr/bin/docker rm -f netdata
|
ExecStartPre=-/usr/bin/docker rm -f netdata
|
||||||
|
|
||||||
|
@ -50,6 +48,7 @@
|
||||||
-v /etc/netdata:/override:ro \
|
-v /etc/netdata:/override:ro \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-p 19999:19999 \
|
-p 19999:19999 \
|
||||||
|
--env-file=/etc/netdata/environment \
|
||||||
--name=netdata \
|
--name=netdata \
|
||||||
quay.io/luzifer/netdata:{{ version }}
|
quay.io/luzifer/netdata:{{ version }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue