{"id":13587682,"url":"https://github.com/tbowmo/docker-swarm-example","last_synced_at":"2025-04-06T19:18:08.566Z","repository":{"id":139934519,"uuid":"219360568","full_name":"tbowmo/docker-swarm-example","owner":"tbowmo","description":"Example of docker swarm setup","archived":false,"fork":false,"pushed_at":"2023-08-02T17:38:32.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-13T21:54:44.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/tbowmo.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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}},"created_at":"2019-11-03T20:23:46.000Z","updated_at":"2024-02-13T21:54:48.487Z","dependencies_parsed_at":"2024-02-13T21:54:48.123Z","dependency_job_id":"59c00acb-0006-445d-8a33-52bcca81379d","html_url":"https://github.com/tbowmo/docker-swarm-example","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/tbowmo%2Fdocker-swarm-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbowmo%2Fdocker-swarm-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbowmo%2Fdocker-swarm-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbowmo%2Fdocker-swarm-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tbowmo","download_url":"https://codeload.github.com/tbowmo/docker-swarm-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247535513,"owners_count":20954576,"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":[],"created_at":"2024-08-01T15:06:18.989Z","updated_at":"2025-04-06T19:18:08.539Z","avatar_url":"https://github.com/tbowmo.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"Misc automation stacks and scripts\n===\n\nThis is an example of my docker-swarm setup, currently having 2 x86_64 nodes\n\nconfiguration parameters is set in an .env file (copy .env-dist and edit to your likings)\n\ndocker bind mounts\n---\nMost containers are using bind mounts for configuration files etc, and are using `/docker/\u003ccontainer\u003e` directory, I created a glusterfs setup, so /docker/ is replicated accross all hosts in in my swarm setup. This makes it possible for most containers to freely roam the nodes in my swarm.\n\npinned containers\n---\nA couple of containers have been pinned to a specific host, as it has more storage available, and instead of making a nfs share, I found it easier to just always deploy the containers to the same node.\n\nNetwork setup\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbowmo%2Fdocker-swarm-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftbowmo%2Fdocker-swarm-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbowmo%2Fdocker-swarm-example/lists"}