I can make sui see docker and use labels, but there's no way it will work with traefik. It loops a while then stops the container.
This is what I get:
today at 17:58 goroutine 1 [running]: today at 17:58 net/http.(*Request).SetBasicAuth(0x0, 0xc000026840, 0x7, 0xc000026847, 0x7) today at 17:58 /usr/local/go/src/net/http/request.go:960 +0x37 today at 17:58 github.com/willfantom/sui/providers.(*Traefik).requestFromTraefik(0xc0000600f0, 0xaa9a6c, 0xb, 0x30, 0xc000065bc0, 0x7f66ac800390) today at 17:58 /app/providers/traefik-provider.go:176 +0x1ca today at 17:58 github.com/willfantom/sui/providers.(*Traefik).getTraefikVersion(0xc0000600f0, 0x30, 0xa7a3c0, 0xc000189d01) today at 17:58 /app/providers/traefik-provider.go:199 +0x45 today at 17:58 github.com/willfantom/sui/providers.(*Traefik).TestConnection(0xc0000600f0, 0xc000060001, 0xc000056360) today at 17:58 /app/providers/traefik-provider.go:137 +0x2f today at 17:58 github.com/willfantom/sui/providers.newTraefik(0xc000026658, 0x7, 0xc000026670, 0x7, 0x1) today at 17:58 /app/providers/traefik-provider.go:63 +0x1ab today at 17:58 github.com/willfantom/sui/providers.NewAppProvider(0xc000026658, 0x7, 0xc000026670, 0x7, 0xc000189ef8, 0x1, 0x1) today at 17:58 /app/providers/provider.go:28 +0x168 today at 17:58 main.addAppProviders() today at 17:58 /app/main.go:55 +0x145 today at 17:58 main.main() today at 17:58 /app/main.go:36 +0x17a today at 17:59 time="2021-03-23T20:59:08Z" level=info msg="SUI - home server dashboard" today at 17:59 time="2021-03-23T20:59:08Z" level=debug msg="parsed Config\n" today at 17:59 time="2021-03-23T20:59:08Z" level=debug msg="adding provider | traefik" today at 17:59 time="2021-03-23T20:59:08Z" level=debug msg="creating new traefik provider" today at 17:59 panic: runtime error: invalid memory address or nil pointer dereference today at 17:59 [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x6cf1f7]
I can make sui see docker and use labels, but there's no way it will work with traefik. It loops a while then stops the container.
This is what I get:
today at 17:58 goroutine 1 [running]: today at 17:58 net/http.(*Request).SetBasicAuth(0x0, 0xc000026840, 0x7, 0xc000026847, 0x7) today at 17:58 /usr/local/go/src/net/http/request.go:960 +0x37 today at 17:58 github.com/willfantom/sui/providers.(*Traefik).requestFromTraefik(0xc0000600f0, 0xaa9a6c, 0xb, 0x30, 0xc000065bc0, 0x7f66ac800390) today at 17:58 /app/providers/traefik-provider.go:176 +0x1ca today at 17:58 github.com/willfantom/sui/providers.(*Traefik).getTraefikVersion(0xc0000600f0, 0x30, 0xa7a3c0, 0xc000189d01) today at 17:58 /app/providers/traefik-provider.go:199 +0x45 today at 17:58 github.com/willfantom/sui/providers.(*Traefik).TestConnection(0xc0000600f0, 0xc000060001, 0xc000056360) today at 17:58 /app/providers/traefik-provider.go:137 +0x2f today at 17:58 github.com/willfantom/sui/providers.newTraefik(0xc000026658, 0x7, 0xc000026670, 0x7, 0x1) today at 17:58 /app/providers/traefik-provider.go:63 +0x1ab today at 17:58 github.com/willfantom/sui/providers.NewAppProvider(0xc000026658, 0x7, 0xc000026670, 0x7, 0xc000189ef8, 0x1, 0x1) today at 17:58 /app/providers/provider.go:28 +0x168 today at 17:58 main.addAppProviders() today at 17:58 /app/main.go:55 +0x145 today at 17:58 main.main() today at 17:58 /app/main.go:36 +0x17a today at 17:59 time="2021-03-23T20:59:08Z" level=info msg="SUI - home server dashboard" today at 17:59 time="2021-03-23T20:59:08Z" level=debug msg="parsed Config\n" today at 17:59 time="2021-03-23T20:59:08Z" level=debug msg="adding provider | traefik" today at 17:59 time="2021-03-23T20:59:08Z" level=debug msg="creating new traefik provider" today at 17:59 panic: runtime error: invalid memory address or nil pointer dereference today at 17:59 [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x6cf1f7]