Add external monitoring network

This commit is contained in:
2023-08-10 16:29:52 +02:00
parent d53787dd96
commit c173962d19
8 changed files with 33 additions and 5 deletions

View File

@ -20,11 +20,14 @@ services:
labels:
- "prometheus-scrape.enabled=true"
- "prometheus-scrape.port=9091"
- "prometheus-scrape.hostname=tobiasmanske.de"
{% if deploy_traefik_fa %}
traefik-fa:
image: quay.io/oauth2-proxy/oauth2-proxy:latest
restart: unless-stopped
networks:
- metrics
depends_on:
- traefik
labels:
@ -71,4 +74,6 @@ volumes:
networks:
default:
driver: bridge
metrics:
external: true
...

View File

@ -6,7 +6,7 @@ http:
- "127.0.0.1/32"
- "192.168.0.0/16"
- "172.16.0.0/16"
- "10.254.1.0/24"
- "10.254.1.0/16"
auth-headers:
headers:
sslRedirect: true