Rename portainer service in traefik

This commit is contained in:
Colin Hebert
2023-01-20 15:55:55 +01:00
parent 1d622b57cf
commit 970216c06b

View File

@@ -4,7 +4,7 @@ http:
rule: '{{ $s := "portainer" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}' rule: '{{ $s := "portainer" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
service: portainer@file service: portainer@file
services: services:
synology: portainer:
loadBalancer: loadBalancer:
servers: servers:
- url: https://{{ env `NASCOMPOSE_MACVLAN_PORTAINER_IP` }}:9443/ - url: https://{{ env `NASCOMPOSE_MACVLAN_PORTAINER_IP` }}:9443/