From 4c18e0e983395d7ba7180a5c2a58677aa664d975 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Tue, 19 Apr 2022 13:28:36 +0200 Subject: [PATCH] add a proxy only --- graph-frontend.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 graph-frontend.yml diff --git a/graph-frontend.yml b/graph-frontend.yml new file mode 100644 index 00000000..063938a3 --- /dev/null +++ b/graph-frontend.yml @@ -0,0 +1,19 @@ +version: '3.1' + +services: + haproxy: + build: haproxy + volumes: + - ./haproxy:/usr/local/etc/haproxy + expose: + - "8404" + - "80" + ports: + - "80:80" + restart: always + labels: + - "prometheus-scrape.enabled=true" + - "prometheus-scrape.port=8404" + - "prometheus-scrape.job_name=haproxy" + - "prometheus-scrape.metrics_path=/metrics" +