diff options
author | Ashley <webash@users.noreply.github.com> | 2020-05-13 15:02:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 07:02:26 -0700 |
commit | 8a2b8ccedca726f4fa01cb6606a23ace0748697e (patch) | |
tree | ede6c04dc909793c273a572234f723d5c47bb034 /packaging | |
parent | a2107b194bc082aba60137d4a1a08fb891523333 (diff) |
Caddy section lacked data persist volumes (#8999)
The Docker Compose example in the Caddy section didn't include the important volumes:
- netdatalib:/var/lib/netdata
- netdatacache:/var/cache/netdata
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/docker/README.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/docker/README.md b/packaging/docker/README.md index 4a0cb080b9..64c2c6a226 100644 --- a/packaging/docker/README.md +++ b/packaging/docker/README.md @@ -261,11 +261,17 @@ services: security_opt: - apparmor:unconfined volumes: + - netdatalib:/var/lib/netdata + - netdatacache:/var/cache/netdata - /etc/passwd:/host/etc/passwd:ro - /etc/group:/host/etc/group:ro - /proc:/host/proc:ro - /sys:/host/sys:ro - /var/run/docker.sock:/var/run/docker.sock:ro + +volumes: + netdatalib: + netdatacache: ``` ### Restrict access with basic auth |