{"id":19549043,"url":"https://github.com/dtaivpp/meta-compose","last_synced_at":"2025-02-26T06:29:22.485Z","repository":{"id":236652642,"uuid":"629154270","full_name":"dtaivpp/meta-compose","owner":"dtaivpp","description":"Meta-compose is a small utility for managing docker compose deployments","archived":false,"fork":false,"pushed_at":"2023-04-21T15:17:57.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T19:58:08.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dtaivpp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-17T18:27:49.000Z","updated_at":"2023-04-17T18:29:52.000Z","dependencies_parsed_at":"2024-04-28T05:10:14.166Z","dependency_job_id":"857a6606-f416-4122-a178-10f5cfe60e47","html_url":"https://github.com/dtaivpp/meta-compose","commit_stats":null,"previous_names":["dtaivpp/meta-compose"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fmeta-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fmeta-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fmeta-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fmeta-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtaivpp","download_url":"https://codeload.github.com/dtaivpp/meta-compose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240806111,"owners_count":19860717,"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-11-11T03:57:45.763Z","updated_at":"2025-02-26T06:29:22.456Z","avatar_url":"https://github.com/dtaivpp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meta-Compose\n\nWelcome to `meta-compose`! A utility for managing docker compose environments. Meta-compose allows you to string together docker compose files and provide arguments in a straightforward manner. \n\n### Format:\n\nMeta-compose relies on a compose.json file to create named compose configs. For example, the below section defines two composer environments. One is named `observability` and the other is `opensearch`.\n\n```json\n{\n  \"observability\": {}, \n  \"opensearch\": {}\n}\n```\n\nInside you can specify any number of the `docker compose` standard arguments. The argument should be specified in the key and the value should be either a value as a string or a list. \n\n```json\n{\n  \"observaibility\": {\n    \"file\": [\n      \"opensearch/docker-compose.yml\",\n      \"fluentd/docker-compose.yml\"\n    ], \n    \"env-file\": \"opensearch/.env\",\n    \"platform\": \"linux/amd64\"\n  }\n}\n```\n\nThe above config file would resolve to: \n```bash\ndocker compose --file opensearch/docker-compose.yml \\\n               --file fluentd/docker-compose.yml \\ \n               --platform linux/amd64\n```\n\nAny commands you provide after the composer command and enironment simply get passed to docker compose. This allows you to in a more straghtforward manner control docker compose environments. \n\n```bash\nmeta-compose observaibility up -d\n```\n\nThe above command would resolve to: \n\n```bash\ndocker compose --file opensearch/docker-compose.yml \\\n               --file fluentd/docker-compose.yml \\ \n               --platform linux/amd64 \\\n               up -d\n```\n\nYou may have noticed that the .env file specification isn't being passed through. That is becuase python-dotenv is ingesting the environment file and injecting it in on the fly.\n\n### Publish notes for future me\n```\ngit tag -a \"v0.0.3-beta\" -m \"\u003cRelease Notes\u003e\"\ngit push --tags\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtaivpp%2Fmeta-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtaivpp%2Fmeta-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtaivpp%2Fmeta-compose/lists"}