[GH-ISSUE #141] Docker stack deploy multiple node container resolving #57

Open
opened 2026-02-26 04:33:54 +03:00 by kerem · 2 comments
Owner

Originally created by @FabianSchurig on GitHub (Jul 20, 2019).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/141

In #80 there was the following observation:

Not related to your question but as you are using docker stack deploy then you are using docker swarm, you must be aware DPS will solve just containers started at the current machine, it will not solve containers from others cluster nodes.

I think it would be cool to add support for multiple nodes. Configurable like traefik, with labels in the following way:

    deploy:
      labels:
        - "dps.network=web"
        - "dps.enable=true"
        - "dps.hostname=Host:subdomain.domain.com"
        - "dps.port=8080"
        - "dps.tags=public"

Thanks in advance!

Originally created by @FabianSchurig on GitHub (Jul 20, 2019). Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/141 In #80 there was the following observation: > Not related to your question but as you are using docker stack deploy then you are using docker swarm, you must be aware DPS will solve just containers started at the current machine, it will not solve containers from others cluster nodes. I think it would be cool to add support for multiple nodes. Configurable like traefik, with labels in the following way: ``` deploy: labels: - "dps.network=web" - "dps.enable=true" - "dps.hostname=Host:subdomain.domain.com" - "dps.port=8080" - "dps.tags=public" ``` Thanks in advance!
Author
Owner

@mageddo commented on GitHub (Aug 14, 2019):

Me too, the question is: I think docker wouldn't have such API to DPS use it, never did a deep search about it anyway

<!-- gh-comment-id:521272049 --> @mageddo commented on GitHub (Aug 14, 2019): Me too, the question is: I think docker wouldn't have such API to DPS use it, never did a deep search about it anyway
Author
Owner

@FabianSchurig commented on GitHub (Aug 14, 2019):

Thanks for your answer!
I think it would be helpful to take a look on traefik and how container registration is realized there.

<!-- gh-comment-id:521279685 --> @FabianSchurig commented on GitHub (Aug 14, 2019): Thanks for your answer! I think it would be helpful to take a look on `traefik` and how container registration is realized there.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dns-proxy-server-mageddo#57
No description provided.