mirror of
https://github.com/luzifer-ansible/netdata.git
synced 2024-11-08 13:50:01 +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]
|
||||
RemainAfterExit=yes
|
||||
|
||||
EnvironmentFile=-/etc/netdata/environment
|
||||
|
||||
ExecStartPre=/usr/bin/docker pull quay.io/luzifer/netdata
|
||||
ExecStartPre=-/usr/bin/docker rm -f netdata
|
||||
|
||||
|
@ -50,6 +48,7 @@
|
|||
-v /etc/netdata:/override:ro \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-p 19999:19999 \
|
||||
--env-file=/etc/netdata/environment \
|
||||
--name=netdata \
|
||||
quay.io/luzifer/netdata:{{ version }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue