Run as a user
This commit is contained in:
parent
9a46df7881
commit
24b0fbe818
@ -9,6 +9,7 @@ networks:
|
||||
services:
|
||||
prometheus:
|
||||
image: prom/prometheus:${VERSION:?}
|
||||
user: ${RUN_USER:-1000}:${RUN_GROUP:-1000}
|
||||
volumes:
|
||||
- config:/etc/prometheus
|
||||
- data:/prometheus
|
||||
|
Loading…
x
Reference in New Issue
Block a user