Compare commits
No commits in common. "754c08862164fff0a5f9b8d45c73da30c902f3eb" and "a6901f7a1e406be39dc6c7934f3523790b835479" have entirely different histories.
754c088621
...
a6901f7a1e
|
|
@ -1,7 +0,0 @@
|
|||
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 --config.file=/etc/prometheus/prometheus.yml --web.config.file=/etc/prometheus/web.yml
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
%
|
||||
@ #ip_address
|
||||
@ http://172.30.27.1:9090/
|
||||
%
|
||||
@ #service
|
||||
@ prometheus
|
||||
%
|
||||
@ #ADDITIONAL_REPLACE
|
||||
@ 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 && touch /opt/prometheus/web.yaml && chown -R nobody:nogroup /opt/prometheus/")
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
basic_auth_users:
|
||||
admin: {bcrypt-hashed-password}
|
||||
Loading…
Reference in New Issue