Add auth to prometheus
Build Docker Image for Actions / Check-If-Rebuild (push) Successful in 8s 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 1m46s Details

main
drunkendog 2023-12-20 03:55:54 +00:00
parent c1ee39453b
commit f9762de132
1 changed files with 1 additions and 1 deletions

View File

@ -9,4 +9,4 @@
@ template = template.replace("proxy_set_header Host $host;", "proxy_set_header Host $host;\nproxy_set_header Upgrade $http_upgrade;\nproxy_set_header Connection \"upgrade\";")
%
@ #START_CONTAINER
@ os.system("mkdir -p /opt/prometheus/data && touch /opt/prometheus/prometheus.yaml && chown -R nobody:nogroup /opt/prometheus/")
@ os.system("mkdir -p /opt/prometheus/data && touch /opt/prometheus/prometheus.yaml && touch /opt/prometheus/web.yaml && chown -R nobody:nogroup /opt/prometheus/")