From 24b0fbe8185e2f87d8b1a17e0a8cbec105fb06fc Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Tue, 21 Jan 2025 16:18:51 -0500 Subject: [PATCH] Run as a user --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index b12946e..6d6b4fa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ networks: services: prometheus: image: prom/prometheus:${VERSION:?} + user: ${RUN_USER:-1000}:${RUN_GROUP:-1000} volumes: - config:/etc/prometheus - data:/prometheus