Comments (12)
Hey sorry have been busy lately, will check this out soon!
from swarmlet.
Also, swarmlet info
tells me unknown command
. Is that a known issue?
from swarmlet.
Yeah, at this stage there are some things not implemented, such as swarmlet info
.
Sorry 😅 I have to update the docs.
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 .env
file, and push again to redeploy and configure services included by Swarmlet (Matamo and Swarmpit atm).
from swarmlet.
*Try to pull the Swarmpit repo from the swarm using git clone git@swarm:swarmpit
, edit, commit and git push origin master
.
Traefik usually takes some time to generate the SSL certs, a minute or two.
from swarmlet.
I think the hostname setting probably has an issue. I see
remote: =====> Stack deployed:
remote: [swarmpit] — https://swarmpit./home/git/swarmpit
the $HOSTNAME
is set to the proper value, though.
from swarmlet.
@sardaukar Exactly, and I'm not sure why $HOSTNAME
is not displayed. Probably because the deployments service runs the build in a Docker container and doesn't have a hostname. In any case you should define the domain name in the .env
file of any web service - at the moment.
This workflow should also be improved and explained in the docs. If you feel like helping out, please do! 👍
from swarmlet.
I'll have a look at this tomorrow! Thanks
from swarmlet.
I'm curious if you've managed to host Swarmpit on your domain yet using Swarmlet.
Let me know when you do! 😃
Later today I'm going to update the docs on how to configure Swarmpit, Matomo and optionally Swarmprom/Portainer.
from swarmlet.
Yeah, I'm curious about that too. It'd be great to just work out of the box.
from swarmlet.
100% agree.
Have you tried these steps?
# 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
from swarmlet.
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 *.dev.mydomain.com
is pointed to the server you're installing Swarmlet on).
This should make these domains accessible after installation:
https://swarmpit.dev.mydomain.com
https://matomo.dev.mydomain.com
https://traefik.dev.mydomain.com
https://consul.dev.mydomain.com
Please let me know if you get the chance to try it out!
from swarmlet.
Closing this for now, please re-open if you are still running into this issue after a fresh installation.
from swarmlet.
Related Issues (20)
- Python-pip does not exist in Ubuntu 20.04 HOT 2
- Use a different docker-compose.yml HOT 1
- Swarmlet not working with Git LFS HOT 6
- Traefik domain is wrong
- Update Traefik
- Swarm installer can only run as root HOT 2
- Packages / docker not being installed HOT 4
- Unable to push to base domain HOT 4
- swarmlet join manager failed
- Install failure at registry connect: Client.Timeout exceeded while awaiting headers
- Hardcoded debian backport mirror can slow or break apt
- INSTALLLATION TYPE with 3 L typo
- Github CI recommandations errors
- Homepage is not loading HOT 1
- Installation on debian issues - deps and swarm init HOT 5
- Traefik cannot complete Letsencrypt validation if host has AAAA (IPv6) DNS records
- Install script fails as it depends on whiptail package
- Install - ansible task fails when running "Add the git user"
- Broken install on Ubuntu 18.04, docker-compose install through Ansible HOT 3
- Installation fails on raspberry PI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarmlet.