Remove traefik from the bootstrap

This commit is contained in:
Colin Hebert
2023-01-20 11:52:51 +01:00
parent 430a18650f
commit 354b39523f
8 changed files with 100 additions and 67 deletions

View File

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