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

Docker Swarm support? #165

Closed
kristiandrucker opened this issue Feb 19, 2017 · 9 comments
Closed

Docker Swarm support? #165

kristiandrucker opened this issue Feb 19, 2017 · 9 comments

Comments

@kristiandrucker
Copy link

@kristiandrucker kristiandrucker commented Feb 19, 2017

Hi, please may you support docker swarm deployment?

@kaiyou
Copy link
Member

@kaiyou kaiyou commented Feb 23, 2017

I don't think that we need anything specific for deploying on Docker Swarm, do we? Only problem for now will be the storage part, which requires that most of the containers are on the same host or share an underlying storage layer.

@kristiandrucker
Copy link
Author

@kristiandrucker kristiandrucker commented Feb 23, 2017

You can use it's integrated storage driver and when a user would like to access that storage, they will simply need to create a docker container and attach it to the volume.

@kaiyou
Copy link
Member

@kaiyou kaiyou commented Mar 8, 2017

Okay, would we need to add anything to the current project to support Docker Swarm?

@kristiandrucker
Copy link
Author

@kristiandrucker kristiandrucker commented Mar 8, 2017

@kaiyou Could you rewrite docker compose to v3, so It can be deployed via docker stack.

@kaiyou
Copy link
Member

@kaiyou kaiyou commented Mar 19, 2017

I do not think it needs rewriting, simply updating the version, I will run some tests.

@kristiandrucker
Copy link
Author

@kristiandrucker kristiandrucker commented Mar 19, 2017

@kaiyou Ok

@kaiyou
Copy link
Member

@kaiyou kaiyou commented Mar 19, 2017

I confirm that you can simply change the Compose version number to 3 and get it up. You will need the latest Docker version though, which is why I won't be adding this to the repository until a couple more weeks/months.

@kristiandrucker
Copy link
Author

@kristiandrucker kristiandrucker commented Mar 19, 2017

I will try it on my system

@kaiyou kaiyou closed this May 4, 2017
@curry684
Copy link
Contributor

@curry684 curry684 commented May 4, 2017

I would heartily recommend against doing this without further infrastructure like Ceph or Gluster in place, or at the very least NFS for database and mailboxes. Keep in mind that a host going down means the affected containers will be rescheduled on other hosts, and that effectively will mean your system will still be up then with empty configuration, or empty mailboxes.

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

Successfully merging a pull request may close this issue.

None yet
3 participants