Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose examples to use version: '3' #87

Open
olix0r opened this issue Feb 9, 2017 · 1 comment
Open

Update docker-compose examples to use version: '3' #87

olix0r opened this issue Feb 9, 2017 · 1 comment

Comments

@olix0r
Copy link
Member

olix0r commented Feb 9, 2017

I am informed that version 3 of the docker-compose config is supported by Swarm. If we upgrade the docker example configs, maybe it will Just Work for Swarm?

@till
Copy link

till commented Aug 17, 2019

I have a similar question — it seems like docker-compose/-swarm is not really that well supported currently, or it's rough around the edges.

I setup the following:
https://github.com/linkerd/linkerd-examples/tree/master/getting-started/docker

The example works (even with Swarm), kudos! 🎉 However, I am totally unsure how this would work in a more dynamic environment. E.g., if I scale up my hello service, then I need to adjust the disco/ files and re-deploy linkerd?

Or, I add consul to the mix and use consul-registrator:
https://github.com/linkerd/linkerd-examples/tree/master/consul

Which didn't seem to work out of the box. (I have to add, so far, I have no experience running consul and registration looks stagnant.)

Is anyone using this successfully?

Given, that this is also a 1.x vs 2.x thing. I see lots of value in linkerd and we're not using k8s. I've been toying with the idea to write a small wrapper around Docker's /events to do really simple service discovery for the disco file. But I was also hoping someone had done this or would point me to some docs that I maybe didn't read write or missed.

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

No branches or pull requests

2 participants