TrueNAS UI forward

This commit is contained in:
Brieuc Dubois 2023-12-22 14:37:37 +01:00
parent eecc3be57e
commit 9120736c30
2 changed files with 18 additions and 4 deletions

View File

@ -0,0 +1,14 @@
http:
routers:
truenas:
rule: "Host(`truenas.bhasher.com`)"
service: truenas
tls:
certresolver: http
entrypoints: internalsecure
services:
truenas:
loadBalancer:
servers:
- url: http://192.168.1.201/

View File

@ -24,7 +24,7 @@ services:
#- "--log.level=DEBUG"
- "--metrics.prometheus=true"
- "--api.dashboard=true"
#- "--providers.file.filename=/etc/traefik/dynamic-config.yml"
- "--providers.file.filename=/etc/traefik/dynamic-config.yaml"
- "--experimental.plugins.sablier.modulename=github.com/acouvreur/sablier"
- "--experimental.plugins.sablier.version=v1.5.0"
environment:
@ -40,9 +40,9 @@ services:
- type: bind
source: $DATA/traefik/acme.json
target: /acme.json
#- type: bind
# source: $CONFIG/traefik/traefik.yaml
# target: /etc/traefik/traefik.yaml
- type: bind
source: $CONFIG/traefik/traefik.yaml
target: /etc/traefik/dynamic-config.yaml
restart: always
labels:
- "traefik.enable=true"