How to access swarmpit? #9
Comments
Also, |
Yeah, at this stage there are some things not implemented, such as To access a web service you first need to configure the domain name. You need to clone the swarmpit repo from the swarm, change the URL in the |
*Try to pull the Swarmpit repo from the swarm using Traefik usually takes some time to generate the SSL certs, a minute or two. |
I think the hostname setting probably has an issue. I see
the |
@sardaukar Exactly, and I'm not sure why This workflow should also be improved and explained in the docs. If you feel like helping out, please do! 👍 |
I'll have a look at this tomorrow! Thanks |
I'm curious if you've managed to host Swarmpit on your domain yet using Swarmlet. Later today I'm going to update the docs on how to configure Swarmpit, Matomo and optionally Swarmprom/Portainer. |
Yeah, I'm curious about that too. It'd be great to just work out of the box. |
100% agree. # on your local machine
git clone git@swarm:swarmpit
cd swarmpit
nano .env # edit DOMAIN=swarmlet.dev to your domain
git add . && git commit -m 'update'
git push origin master If the service is not accessible online after a few minutes, you could try following the logs of both Swarmpit and Traefik if you can find any clues. # on the server
docker service logs swarmpit_app -f
docker service logs loadbalancer_traefik -f |
I've just updated the master branch with some fixes, setting a root domain during installation should fix this issue. You can try it using: curl -fsSL https://get.swarmlet.dev | bash -s ROOT_DOMAIN=dev.mydomain.com (assuming This should make these domains accessible after installation:
Please let me know if you get the chance to try it out! |
Closing this for now, please re-open if you are still running into this issue after a fresh installation. |
Hey sorry have been busy lately, will check this out soon! |
I installed swarmlet on a domain, but can't seem to get anything but 404s. Should swarmpit be accessible from swarmpit.domain.tld?
The text was updated successfully, but these errors were encountered: