Rename 'traefik' service proxy

This commit is contained in:
Colin Hebert
2023-01-20 17:28:14 +01:00
parent dcbaa9a8bb
commit efac894fc5
12 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
http:
routers:
synology:
rule: '{{ $s := "synology" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
service: synology@file
services:
synology:
loadBalancer:
servers:
- url: https://{{ env `NASCOMPOSE_MACVLAN_SYNOLOGY_IP` }}:5001/