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
Ashley committed
May 13, 2020 at 15:02 UTC
8a2b8ccedca726f4fa01cb6606a23ace0748697e
1 file changed
+6
packaging/docker/README.md
+6
@@ -261,11 +261,17 @@ services:
261
security_opt:
262
- apparmor:unconfined
263
volumes:
264
+ - netdatalib:/var/lib/netdata
265
+ - netdatacache:/var/cache/netdata
266
- /etc/passwd:/host/etc/passwd:ro
267
- /etc/group:/host/etc/group:ro
268
- /proc:/host/proc:ro
269
- /sys:/host/sys:ro
270
- /var/run/docker.sock:/var/run/docker.sock:ro
271
+
272
+volumes:
273
+ netdatalib:
274
+ netdatacache:
275
```
276
277
### Restrict access with basic auth