Move to self-serve domain

This commit is contained in:
Colin Hebert
2023-04-30 12:14:14 +10:00
parent 87bfb200be
commit 50c7bb9f86
9 changed files with 12 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ providers:
endpoint: tcp://docker:2375
exposedByDefault: false
network: reverse-proxy
defaultRule: '{{ $s := index .Labels "com.docker.compose.service" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
defaultRule: '{{ .Labels "com.docker.compose.service" }}{{ env `NASCOMPOSE_DOMAIN` }}'
file:
directory: /etc/traefik/dynamic/