{"id":21504405,"url":"https://github.com/keilerkonzept/docker-compose-hosts","last_synced_at":"2026-04-20T05:02:15.260Z","repository":{"id":57603909,"uuid":"162369718","full_name":"keilerkonzept/docker-compose-hosts","owner":"keilerkonzept","description":"Work with docker-compose manifests for multiple hosts. single binary, only depends on docker-compose. osx, linux, windows. #golang #cli","archived":false,"fork":false,"pushed_at":"2019-10-20T11:43:00.000Z","size":1801,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T14:19:28.412Z","etag":null,"topics":["binary","docker","docker-compose","golang","ssh","ssh-tunnel"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keilerkonzept.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-19T02:08:24.000Z","updated_at":"2019-10-20T11:43:01.000Z","dependencies_parsed_at":"2022-09-26T19:53:09.556Z","dependency_job_id":null,"html_url":"https://github.com/keilerkonzept/docker-compose-hosts","commit_stats":null,"previous_names":["sgreben/docker-compose-hosts"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/keilerkonzept/docker-compose-hosts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Fdocker-compose-hosts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Fdocker-compose-hosts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Fdocker-compose-hosts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Fdocker-compose-hosts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keilerkonzept","download_url":"https://codeload.github.com/keilerkonzept/docker-compose-hosts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Fdocker-compose-hosts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32033717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["binary","docker","docker-compose","golang","ssh","ssh-tunnel"],"created_at":"2024-11-23T18:59:11.452Z","updated_at":"2026-04-20T05:02:15.241Z","avatar_url":"https://github.com/keilerkonzept.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-compose-hosts\n\nWork with docker-compose manifests for multiple hosts.\n\n## Contents\n\n- [Contents](#contents)\n- [Get it](#get-it)\n  - [Using `go get`](#using-go-get)\n  - [Pre-built binary](#pre-built-binary)\n- [Usage](#usage)\n  - [Command-line interface syntax](#command-line-interface-syntax)\n  - [`docker-compose-hosts.yml` syntax](#docker-compose-hostsyml-syntax)\n\n\n## Get it\n\n### Using `go get`\n\n```sh\ngo get -u github.com/keilerkonzept/docker-compose-hosts\n```\n\n### Pre-built binary\n\n[Download a binary](https://github.com/keilerkonzept/docker-compose-hosts/releases/latest) from the releases page or from the shell:\n\n```sh\n# Linux\ncurl -L https://github.com/keilerkonzept/docker-compose-hosts/releases/download/0.1.2/docker-compose-hosts_0.1.2_linux_x86_64.tar.gz | tar xz\n\n# OS X\ncurl -L https://github.com/keilerkonzept/docker-compose-hosts/releases/download/0.1.2/docker-compose-hosts_0.1.2_osx_x86_64.tar.gz | tar xz\n\n# Windows\ncurl -LO https://github.com/keilerkonzept/docker-compose-hosts/releases/download/0.1.2/docker-compose-hosts_0.1.2_windows_x86_64.zip\nunzip docker-compose-hosts_0.1.2_windows_x86_64.zip\n```\n\n## Usage\n\n`docker-compose-hosts` reads project definitions from a [`docker-compose-hosts.yml` file](#docker-compose-hostsyml-syntax), and forwards all positional arguments to `docker-compose` for each of the projects.\n\n### Command-line interface syntax\n\n```text\ndocker-compose-hosts [OPTIONS] -- [COMMAND [ARGS...]]\n```\n\n```text\nUsage of docker-compose-hosts:\n  -f string\n    \t(alias for -file) (default \"docker-compose-hosts.yml\")\n  -file string\n    \tspecify an alternate compose-hosts file (default \"docker-compose-hosts.yml\")\n  -logs-off\n    \tdisable all logging\n  -logs-verbose\n    \tenable extra logging\n  -parallel\n    \trun commands in parallel\n  -q\t(alias for -logs-off)\n  -v\t(alias for -logs-verbose)\n  -version\n    \tprint version and exit\n```\n\n### `docker-compose-hosts.yml` syntax\n\nExample file with all fields below; see also [example/docker-compose-hosts.yml](example/docker-compose-hosts.yml).\n\n```yaml\nversion: '1.0'\nprojects:\n  project-name-goes-here:\n    compose_file: (path to docker-compose.yml)\n    docker_host: (value for DOCKER_HOST, optional)\n  another-project-name-goes-here:\n    compose_file: (path to docker-compose.yml)\n    docker_host: (value for DOCKER_HOST, optional)\n```\n\nAll string fields except `version` support `$ENVVARS`; A literal `$` can be produced using the escape `$$`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeilerkonzept%2Fdocker-compose-hosts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeilerkonzept%2Fdocker-compose-hosts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeilerkonzept%2Fdocker-compose-hosts/lists"}