Hey guys, just found the project yesterday and hav...
# install
g
Hey guys, just found the project yesterday and have been trying to deploy it. I seem to be getting rate limited by LetsEncrypt. I think the main issue I'm coming across is that I just don't exactly understand how Netmaker (or traefik) is expected to grab the ssl certs. I don't see any reference to any type of environment variables anywhere in the wiki or in the example composes that I've come across where one would provide, for example, their api token and email to process ssl certs. Am I wrong to assume that these things are required or perhaps I've missed a good bit of the documentation? Thanks so much in advance, looking forward to using the project! Cheers!
b
All the required info for traefik to obtain certs is in the docker-compose file
g
really? I have to be looking at the wrong compose then for sure! I'll take another look, really odd that I'd miss that. I do see mapped volumes for /letsencrypt/acme.json but I don't seem to see much else.. Thank you though, I will take a closer look. I do know what I need in order to have traefik grab the certs for me, I'm just not wanting to mess with the entire setup more than I have to.
the certs aren't set up in netmaker-ui by chance are they? And these are the docker-compose you're referring to?
https://github.com/gravitl/netmaker/blob/master/compose/docker-compose.reference.yml
b
that is the reference file with additional comments .. the one normal used is
https://github.com/gravitl/netmaker/blob/master/compose/docker-compose.yml
you should look at
https://github.com/gravitl/netmaker/blob/master/scripts/nm-quick.sh
or the install instruction in the docs.
g
thank you, I actually just landed on the quick start script, I don't think I've missed anything tbh, but I may have been messing with this one domain too much as the issue seems to be that I'm now being rate limited. I shall switch to another domain, and giver a go! Thanks so much again. Looking forward to frontend for all my wireguard stuff :/
just wanted to say thank you, I got it setup! Seems on top of trying to mix and match traefik commands manually, I was messing osmething up. Using the script worked perfectly, is this not supposed to be used in production though?
j
you can change the subdomain to something like "dashboard...nip,io if you've done too many requests
the script does the exact same things as the "quick install" just automated, so it's really about how you'd like your server to be set up. If you need customizations, you should follow the docs. Also better to use your own domain in production instead of nip.io
g
oh, didn't even know that.. tbh I just buy a mass amount of them whenever namecheap has a sale.. lol
perfect, looks like I'm good to go! Thanks so much! Amazing dashboard btw!
b
if you use your own domain, you either need a wildcard or dns records for dashboard/api/broker.
g
perfect, I actually ended up realizing that. However, is it normal for everything to be set up at say, dashboard.netmaker.domain.tld ? found it strange that the *.netmaker.domain.tld was added by default