glamorous-carpet-8235
11/10/2022, 11:38 AMglamorous-carpet-8235
11/10/2022, 11:38 AM/mnt/vdb1
instead of /root
, use other reverse proxy instead of traefik, and expose netmaker api and netmaker-ui with cloudflare tunnel.
The best thing of self-hosting with docker and docker compose for me is everything is contained, there's no magic config file littered around. The quick start script is hardcoded to use /root
, which I guess is fine for "Trial, PoC, Testing, and Experimenting".
So I went from "Quick Install" straight to "Advanced Install Resources", and used files in https://github.com/gravitl/netmaker/blob/master/compose as reference.glamorous-carpet-8235
11/10/2022, 11:38 AMSERVER_NAME
is used as the public mqtt domain used by clients, and MQ_HOST
is the internal mqtt domain used by netmaker, MQ_SERVER_PORT
is the public mqtt port and MQ_PORT
is the internal mqtt port.
The "Variable Description" is helpful but incomplete, for example, MQ_SERVER_PORT
and MQ_PORT
are listed in "Compose File - Annotated" not listed in "Variable Description".
MQ_ADMIN_PASSWORD
is listed in https://github.com/gravitl/netmaker/blob/master/compose/docker-compose.yml but not on the advanced install doc page.
There's a lot of references to GRPC (example: https://github.com/gravitl/netmaker/blob/4d062b88ba2c56afbd3371e14e9ab36f75c57dfe/scripts/nm-quick-interactive.sh#L33 , also in advanced install page) but seems not used, I'm guessing it was used in the past?glamorous-carpet-8235
11/10/2022, 11:39 AMdynamic-security.json
is not documented.
I still haven't got everything fully working yet, still haven't configured TLS for mqtt, but I'm getting there.
I tried netmaker a few months ago, I don't remember why I didn't like it, I did faintly remember feeling "why is it so complicated".
I kept seeing netmaker on /r/selfhosted, I'm reworking my selfhosted services now and needs a vpn solution, so I did more reading and realized it's exactly what I need. I was about to write a script for generating wireguard configs.
But the setup process really is... how to describe.. painful? I guess 🥲ambitious-mouse-49215
11/11/2022, 8:28 PM