Comments (10)
Come to think of it, we do point each subdomain manually on prod since the some other subdomain is long been used for an important service. Thanks for the reply. All of the recipes here are very helpful.
from dockerswarm.rocks.
swarmpit.yml
should also be updated for this PR swarmpit/swarmpit#319.
from dockerswarm.rocks.
The domain is needed, it is used by Traefik to generate HTTPS certificates for it. And it's used inside of the Docker Compose/Stack file: https://github.com/tiangolo/dockerswarm.rocks/blob/master/docs/swarmpit.yml#L27
from dockerswarm.rocks.
@tiangolo I mean this step https://github.com/tiangolo/dockerswarm.rocks/blame/master/docs/swarmpit.md#L19, I just point domain example.com, not each of the subdomains.
from dockerswarm.rocks.
Yep. But that doesn't work for everyone, not everyone set a wildcard domain with everything pointing to their cluster.
For example, someone might need to have a frontend deployed to Netlify, instead of the Docker Swarm mode cluster. So, a wildcard with *.example.com
wouldn't work in this case.
Still, that's why it says:
[...] Make sure that your DNS records point [...]
As you might achieve that with a wildcard. It doesn't require you to create a new DNS record, just to make sure that it works before deployment.
from dockerswarm.rocks.
On this comment, there should be some mention of app
being default service name so if the service name is changed it should be overridden by environment variable. I did not want to create PR before specifying the issue. ref: https://github.com/swarmpit/agent/blob/adff5c79871ee8f7edac3b61febb4b903aaba0e8/setup/args.go#L17
from dockerswarm.rocks.
Hmm, I'm not sure I understand what you mean...
from dockerswarm.rocks.
If the service name is not app
such as if it is swarmpit-app
, then swarmpit agent cannot connect to swarmpit. ref: swarmpit/swarmpit#319
from dockerswarm.rocks.
Hmm, I don't see a case where that would happen here.
from dockerswarm.rocks.
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.
from dockerswarm.rocks.
Related Issues (20)
- Swarmpit setup fails - http://db:5984 host unreachable HOT 4
- Service placement on different node makes it unreachable HOT 2
- Swarmpit on ARM HOT 1
- Let's encrypt issue HOT 2
- Setting up hostname didn't work
- 404 for grafana / prometheus requests HOT 2
- Traefik example and its labels HOT 1
- Suggestion: Start with simple stack to get Portainer running with Caddy HOT 2
- Traefik on 2 Manager Nodes HOT 4
- What are the things to look when traefik.<domain name> is not loading? HOT 2
- Any recommended FOSS projects for Docker Swarm Mode deployments? HOT 3
- Traefik : redirect all http to https HOT 4
- n/a
- nginx loadbalancer
- Custom SSL Certificate HOT 2
- [feature request] dark mode for dockerswarm.rocks HOT 1
- Traefik redundancy and DNS configuration HOT 3
- Feature Request: Explain the roles of Portainer and Swarmpit (better) HOT 1
- Is dockerswarm.rocks still maintained? HOT 13
- Everything depends on the first node despite being in swarm mode HOT 2
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 dockerswarm.rocks.