{"id":18441629,"url":"https://github.com/stefanwalther/deploy-docker-swarm","last_synced_at":"2025-04-07T22:32:28.881Z","repository":{"id":149090002,"uuid":"84103148","full_name":"stefanwalther/deploy-docker-swarm","owner":"stefanwalther","description":"Deploy scripts for docker-swarm.","archived":false,"fork":false,"pushed_at":"2018-10-31T19:24:38.000Z","size":491,"stargazers_count":19,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T17:54:33.676Z","etag":null,"topics":["ansible","bash","bash-script","docker-compose","docker-stack","docker-swarm","docker-swarm-mode","sammler","virtualbox"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefanwalther.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-06T17:47:55.000Z","updated_at":"2023-01-31T22:33:39.000Z","dependencies_parsed_at":"2023-06-30T04:01:06.609Z","dependency_job_id":null,"html_url":"https://github.com/stefanwalther/deploy-docker-swarm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Fdeploy-docker-swarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Fdeploy-docker-swarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Fdeploy-docker-swarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Fdeploy-docker-swarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanwalther","download_url":"https://codeload.github.com/stefanwalther/deploy-docker-swarm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247741546,"owners_count":20988427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","bash","bash-script","docker-compose","docker-stack","docker-swarm","docker-swarm-mode","sammler","virtualbox"],"created_at":"2024-11-06T06:38:53.419Z","updated_at":"2025-04-07T22:32:28.872Z","avatar_url":"https://github.com/stefanwalther.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deploy-docker-swarm\n\n\u003e Collection of deploy scripts of a docker-swarm to different (local- \u0026 cloud-)providers, using differrent tools such as bash, Vagrant, Ansible, Terraform.\n\n## TOC\n\n- [Summary](#summary)\n- [Scenarios](#scenarios)\n  * [Fully working](#fully-working)\n  * [In progress](#in-progress)\n  * [Investigating](#investigating)\n  * [Omitted](#omitted)\n- [Install](#install)\n- [Tools being used](#tools-being-used)\n- [Comparison of the different approaches used](#comparison-of-the-different-approaches-used)\n- [About](#about)\n  * [Contributing](#contributing)\n  * [Author](#author)\n- [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Summary\nThis repository contains different implementation approaches how to deploy docker-swarm to various environments respectively cloud-providers, using different tooling.\n\nAll implementation scenarios follow the \"voting-app\" example Docker has provided: [https://docs.docker.com/engine/getstarted-voting-app/](https://docs.docker.com/engine/getstarted-voting-app/) \n\nAll scenarios are created in a generic, re-usable way. Switching from deploying the voting-app to your services, should be pretty easy and straightforward.\n\n**Caution:**\nI am by no means an expert in this area. Working on the different scenarios primarily helped me to test the different approaches as a novice in this area. **Therefore any contribution, comment or PR is highly welcome**.\n\n## Scenarios\n\n### Fully working\n\n- [Local deployment to VirtualBox using bash only](./local-bash) (./local-bash)\n- [Local deployment to VirtualBox using Vagrant only](./local-vagrant) (./local-vagrant)\n\n### In progress\n\n- [Deployment to DigitalOcean using Packer \u0026 Terraform](./do-packer-terraform) (./do-packer-terraform)\n\n### Investigating\n\n- Local deployment using the Docker-in-docker (DinD) approach\n- Deployment to DigitalOcean using bash only\n- Deployment to DigitalOcean using Vagrant \u0026 bash\n- Using rancher to deploy locally (?)\n- Using rancher to deploy to DigitalOcean\n- Deployment to AWS using Vagrant only\n\n### Omitted\n\n- ~~Local deployment to VirtualBox using Vagrant/Ansible (./local-vagrant-ansible)~~  \n- ~~Deployment to DigitalOcean using Vagrant only (./do-vagrant)~~  \n- ~~Deployment to DigitalOcean using Vagrant/Ansible (./do-vagrant-ansible)~~  \n\nThe scenarios above were started, but discontinued for various reasons.\n\n_Note:_ Scenarios not being linked to a solution are not started, finished, or just do not work, yet.\n\n## Install\n\nClone the [GitHub repository](https://github.com/stefanwalther/deploy-docker-swarm) , install the required tools and enjoy:\n\n```sh\n$ git clone https://github.com/stefanwalther/deploy-docker-swarm\n```\n\n## Tools being used\n\nDifferent tools have been used in the different scenarios, which also allows to compare the different approaches:\n \n- [VirtualBox](https://www.virtualbox.org/)\n  - [Guest Additions for VirtualBox](https://docs.oracle.com/cd/E36500_01/E36502/html/qs-guest-additions.html)\n- [Docker for Mac](https://docs.docker.com/docker-for-mac/) / [Docker for Windows](https://docs.docker.com/docker-for-windows/)\n- [Vagrant](https://www.vagrantup.com/)\n- [Ansible](https://www.ansible.com/)\n- [Terraform](https://www.terraform.io/)\n\nHave a look at the README of the corresponding scenario to understand which of the tools are needed.\n\n## Comparison of the different approaches used\n\n- [Comparison](docs/comparison.md)\n\n## About\n\n### Contributing\nComments, Issues and PR are highly welcome.\n\n### Author\n**Stefan Walther**\n\n* [github/stefanwalther](https://github.com/stefanwalther)\n* [twitter/waltherstefan](http://twitter.com/waltherstefan)\n\n## License\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanwalther%2Fdeploy-docker-swarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanwalther%2Fdeploy-docker-swarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanwalther%2Fdeploy-docker-swarm/lists"}