Rename portainer service in traefik

This commit is contained in:
Colin Hebert
2023-01-20 15:58:00 +01:00
parent 970216c06b
commit a6336710b1

View File

@@ -1,6 +1,6 @@
http:
routers:
synology:
portainer:
rule: '{{ $s := "portainer" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
service: portainer@file
services: