Skip to content
Snippets Groups Projects
Commit 4cb28400 authored by Paul's avatar Paul :turtle:
Browse files

add icebox-exporter

parent a04db15e
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,10 @@ services:
POSTGRES_DB: icebox
volumes:
- icebox-data:/var/lib/postgresql/data
icebox-exporter:
image: registry.chaotikum.net/icebox/prometheus-icebox-exporter
environment:
ICEBOX_URL: http://icebox.nobreakspace.org:8081
volumes:
icebox-data:
......
......@@ -146,3 +146,17 @@ server {
proxy_set_header Upgrade $http_upgrade;
}
}
# exportert
server {
listen 8083 default_server;
location / {
proxy_buffering off;
proxy_pass http://icebox-exporter:8000/;
proxy_pass_header Server;
proxy_http_version 1.1;
proxy_set_header Host $host;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment