Code Monkey home page Code Monkey logo

Comments (10)

cpxPratik avatar cpxPratik commented on May 23, 2024 1

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.

cpxPratik avatar cpxPratik commented on May 23, 2024

swarmpit.yml should also be updated for this PR swarmpit/swarmpit#319.

from dockerswarm.rocks.

tiangolo avatar tiangolo commented on May 23, 2024

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.

cpxPratik avatar cpxPratik commented on May 23, 2024

@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.

tiangolo avatar tiangolo commented on May 23, 2024

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.

cpxPratik avatar cpxPratik commented on May 23, 2024

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.

tiangolo avatar tiangolo commented on May 23, 2024

Hmm, I'm not sure I understand what you mean...

from dockerswarm.rocks.

cpxPratik avatar cpxPratik commented on May 23, 2024

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.

tiangolo avatar tiangolo commented on May 23, 2024

Hmm, I don't see a case where that would happen here.

from dockerswarm.rocks.

github-actions avatar github-actions commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.