From e85e3ee2b787236ea69c1a749bcf380df7089746 Mon Sep 17 00:00:00 2001 From: Robert Drake Date: Tue, 23 Sep 2025 14:47:07 -0400 Subject: [PATCH] This is needed because the netbox container runs as the "unit" user rather than root and can't write to the directory. Docker hasn't added the commands to change the uid of the tmpfs mount, so you need to override the mode instead. See https://stackoverflow.com/questions/53498380/docker-compose-mounting-a-tmpfs-usable-by-non-root-user --- Monitoring.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Monitoring.md b/Monitoring.md index f7eb251..2c504bc 100644 --- a/Monitoring.md +++ b/Monitoring.md @@ -14,6 +14,8 @@ services: - type: tmpfs target: /tmp/metrics read_only: false + tmpfs: + mode: 0o01777 # nginx nginx-exporter: