average-helicopter-96869
10/01/2021, 9:40 PMdocker-compose with CoreDNS. I planned to use my existing traefik proxy ...
So the main differences for me vs the Quick Install:
- i'm using traefik not nginx
- i'm using traefik to provision letsencrypt certs, not certbot
- i'm not sure how GRPC stuff will pan out with this, but other bits seem straightforward
However, I'm struggling to get access to the UI. When I access the public dashboard ( https://dashboard.nm.MYDOMAIN.TLD ) i see "Forbidden" with a 403 status code.
But when I curl http://localhost:8081 (or http://172.18.0.5:80 which is where traefik's proxy target) I do see netmaker content returned with a 200.
Traefik shows the services as I'd expect, i have valid certs for the FQDNs I'm using and the netmaker containers look good. Even with VERBOSITY: 3, I just see this.
netmaker container runs and logs
netmaker | 2021/10/01 21:31:28 connecting to sqlite
netmaker | 2021/10/01 21:31:28 database successfully connected.
netmaker | 2021/10/01 21:31:29 main.go:134: Agent Server succesfully started on port 50051 (gRPC)
netmaker | 2021/10/01 21:31:29 controller.go:44: REST Server succesfully started on port 8081 (REST)
netmaker-ui container lruns and logs
netmaker-ui | >>>> backend set to: https://api.nm.MYDOMAIN.TLD <<<<<
So I'm a bit stumped. It seem like I'm missing a a "trust proxy endpoint" env var on the containers, so maybe I'm just missing it, but I don't see anything obvious missing that would be provided by the nginx proxy config.