Add auth to prometheus
Build Docker Image for Actions / Check-If-Rebuild (push) Successful in 9s Details
Code Quality Test / Quality-Check (push) Successful in 5s Details
Build Docker Image for Actions / Build-Image (push) Has been skipped Details
Environment Setup Test / Setup (push) Successful in 1m44s Details

main
drunkendog 2023-12-20 03:56:13 +00:00
parent f9762de132
commit 86a1605242
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
docker run -d --net main_subnet --ip 172.30.27.1 \
-v /opt/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \
-v /opt/prometheus/web.yml:/etc/prometheus/web.yml \
-v /opt/prometheus/data:/prometheus \
--name=prometheus \
--restart unless-stopped \
prom/prometheus
prom/prometheus --config.file=/etc/prometheus/prometheus.yml --web.config.file=/etc/prometheus/web.yml