Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Local version of Discovery Service #660

Closed
arun-gupta opened this issue Apr 23, 2015 · 4 comments
Closed

Local version of Discovery Service #660

arun-gupta opened this issue Apr 23, 2015 · 4 comments

Comments

@arun-gupta
Copy link

Is there a way by which Swarm cluster can be created by pointing to a Discovery Service that is hosted inside the firewall? Basically, make Discovery Service as another Docker image that can run inside the firewall.

This can be useful for default installations where they don't have to (want to?) get into etcd, consul, or zookeper.

@aluzzardi
Copy link
Contributor

Some background: The API the discovery service is using is entirely open but the reason the implementation is not is because it has a dependency on storage (right now it's using our internal infrastructure storage) and so it wouldn't work anywhere else.

Even if we made it available, you would have to set up some kind of storage (consul, etcd, postgres, ...) for the discovery service to use, so it wouldn't solve that issue either.

@arun-gupta
Copy link
Author

@aluzzardi This is very helpful. Can you share instructions on what it requires to setup storage to work with token-based service?

@aluzzardi
Copy link
Contributor

The implementation we have internally uses PostgreSQL. consul/etcd/zookeeper are as simple to setup.

@arun-gupta
Copy link
Author

Is there a contract that needs to be honored by these services?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants