Compare commits

...

1 Commits

Author SHA1 Message Date
4dcc79f7aa
Update for flexible container configuration
- Allow custom image name override via IMAGE env var
- Enable container name configuration through NAME env var
- Set container user/group via RUN_USER and RUN_GROUP
2025-01-22 11:05:11 -05:00

View File

@ -8,7 +8,9 @@ networks:
services:
prometheus:
image: prom/prometheus:${VERSION:?}
image: ${IMAGE:-prom/prometheus}:${VERSION:?}
container_name: ${NAME:-prometheus}
user: ${RUN_USER:-1000}:${RUN_GROUP:-1000}
volumes:
- config:/etc/prometheus
- data:/prometheus