Rename portainer service in traefik
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user