Fix: The environment needs to be loaded into the container

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-08-31 14:26:05 +02:00
parent 909d4cea91
commit 2083a8121e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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 }}