Add persistent data volume

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-08-31 15:58:39 +02:00
parent fc0a1fab32
commit b611a7ac9c
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -47,6 +47,7 @@
-v /sys:/host/sys:ro \ -v /sys:/host/sys:ro \
-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 \
-v /var/lib/netdata:/var/lib/netdata \
-p 19999:19999 \ -p 19999:19999 \
--env-file=/etc/netdata/environment \ --env-file=/etc/netdata/environment \
--name=netdata \ --name=netdata \