Skip to content

Commit

Permalink
Add prometheus-traefik.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 2, 2023
1 parent c258171 commit 77e768b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions prometheus-traefik.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To be used in conjunction with grafana.yml
# Please be very cautious, prometheus is not authenticated by default
version: "3.9"
services:
execution:
labels:
- traefik.enable=true
- traefik.http.routers.${PROM_HOST:-prom}.entrypoints=web,websecure
- traefik.http.routers.${PROM_HOST:-prom}.rule=Host(`${PROM_HOST:-prom}.${DOMAIN}`)
- traefik.http.routers.${PROM_HOST:-prom}.tls.certresolver=letsencrypt
- traefik.http.services.${PROM_HOST:-prom}.loadbalancer.server.port=9090

0 comments on commit 77e768b

Please sign in to comment.