26 lines
942 B
YAML
26 lines
942 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
pft2pftr:
|
|
build: .
|
|
container_name: pft2pftr
|
|
restart: unless-stopped
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik_proxy"
|
|
- "traefik.http.routers.grafana_http.rule=Host(`pft2pftr.williambr.uno`)"
|
|
- "traefik.http.routers.grafana_http.entryPoints=web"
|
|
- "traefik.http.routers.grafana_http.middlewares=https_redirect@file"
|
|
- "traefik.http.routers.grafana_https.tls.certresolver=myresolver"
|
|
- "traefik.http.routers.grafana_https.rule=Host(`pftr2pftr.williambr.uno`)"
|
|
- "traefik.http.routers.grafana_https.entryPoints=web-secure"
|
|
- "traefik.http.routers.grafana_https.middlewares=lan_whitelist@file"
|
|
- "traefik.http.routers.grafana_https.tls=true"
|
|
- "traefik.http.services.grafana.loadbalancer.server.port=5000"
|
|
networks:
|
|
- traefik_proxy
|
|
networks:
|
|
traefik_proxy:
|
|
external: true
|
|
name: traefik_proxy
|