{"id":16749098,"url":"https://github.com/odolbeau/dce","last_synced_at":"2026-04-19T06:35:45.039Z","repository":{"id":233219968,"uuid":"627905615","full_name":"odolbeau/dce","owner":"odolbeau","description":"Docker Compose Extended","archived":false,"fork":false,"pushed_at":"2023-04-20T09:45:53.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T03:42:13.363Z","etag":null,"topics":["configuration","docker","docker-compose"],"latest_commit_sha":null,"homepage":"","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/odolbeau.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":"2023-04-14T13:08:59.000Z","updated_at":"2023-04-14T16:44:04.000Z","dependencies_parsed_at":"2024-04-14T19:57:46.681Z","dependency_job_id":"bfcbb1bf-f02a-4f29-9bf4-19d08f8bb622","html_url":"https://github.com/odolbeau/dce","commit_stats":null,"previous_names":["odolbeau/dce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/odolbeau/dce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odolbeau%2Fdce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odolbeau%2Fdce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odolbeau%2Fdce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odolbeau%2Fdce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odolbeau","download_url":"https://codeload.github.com/odolbeau/dce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odolbeau%2Fdce/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269318266,"owners_count":24397067,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"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":["configuration","docker","docker-compose"],"created_at":"2024-10-13T02:23:52.813Z","updated_at":"2026-04-19T06:35:45.007Z","avatar_url":"https://github.com/odolbeau.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DCE\n\nDCE stands for Docker ComposE or Docker Compose Extended.\nThe goal is to simplify the usage of the docker compose commands when using several Compose configuration files or options.\nThe command will read the `.dcerc` configuration file if present in order to automatically add desired options to the `docker compose` command.\n\n## Installation\n\nSimply copy the `dce` command of this repository in a folder which is present in your $PATH.\n\n```bash\ncurl -s https://raw.githubusercontent.com/odolbeau/dce/master/dce | sudo tee /usr/local/bin/dce \u0026\u0026 sudo chmod +x /usr/local/bin/dce\n```\n\nIn order to install bash_completion:\n\n```bash\ncurl -s https://raw.githubusercontent.com/odolbeau/dce/master/bash_completion | sudo tee /etc/bash_completion.d/dce\n```\n\n## Usage\n\n### Automatically add options using a `.dcerc` file.\n\nIn a project which contains several compose configuration files, you can create a `.dcerc` file like this one:\n\n```\n# Give a name to this project (instead of using the current directory name)\n-p my_project name\n\n# includes all needed compose configuration files\n-i docker/services/traefik.yml\n-i docker/websites/blog.yml\n-i docker/websites/another_blog.yml\n\n# Include some secrets stored in a specific env file\n--env-file .secrets\n```\n\nThen simply call the `dce` command and you're done! 👌\nShip this file in your repository to ensure your collaborators use exactly the same config than you!\n\n### Dealing with environment files\n\nBy default, `dce` will include `.env` and `.env.prod` files if present in the current folder. You can change the default environment used by `dce` by creating a `~/.config/dce/env` file. For example, if this file contains \"local\", `dce` will automatically includes `env` and `.env.local` files if it exists.\n\n## Improvements\n\nUse `--project-directory` option when provided to look for a .dcerc file in the given folder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodolbeau%2Fdce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodolbeau%2Fdce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodolbeau%2Fdce/lists"}