missing haproxy config

This commit is contained in:
Your Name
2022-02-13 21:32:07 +01:00
parent 68d4f07d67
commit 1c81b55c1b
4 changed files with 26 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
version: '3.1'
services:
haproxy:
build: haproxy
volumes:
- ./haproxy:/usr/local/etc/haproxy
expose:
- "8404"
ports:
- "80:80"
restart: always
labels:
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=8404"
- "prometheus-scrape.job_name=haproxy"
- "prometheus-scrape.metrics_path=/metrics"