mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-07-15 22:05:38 +02:00
need to set variable so prometheus metrics are actually shared between worker processes
@ -9,6 +9,7 @@ services:
|
|||||||
netbox:
|
netbox:
|
||||||
environment:
|
environment:
|
||||||
METRICS_ENABLED: 'true'
|
METRICS_ENABLED: 'true'
|
||||||
|
prometheus_multiproc_dir: /tmp/metrics
|
||||||
volumes:
|
volumes:
|
||||||
- type: tmpfs
|
- type: tmpfs
|
||||||
target: /tmp/metrics
|
target: /tmp/metrics
|
||||||
|
Reference in New Issue
Block a user