| Crates.io | dcompose |
| lib.rs | dcompose |
| version | 0.1.1 |
| created_at | 2025-07-01 06:52:58.940604+00 |
| updated_at | 2025-07-01 07:01:02.407169+00 |
| description | Clone docker compose service configs across repositories on Github. |
| homepage | https://github.com/aalekhpatel07/dcompose |
| repository | https://github.com/aalekhpatel07/dcompose |
| max_upload_size | |
| id | 1732843 |
| size | 61,570 |
cargo install dcompose
Composing buncha services from across Github repositories:
dcompose \
--output docker-compose.yml \
"Data4Democracy/docker-scaffolding+master:docker-compose.yml@mongo" \ # get the mongo service from Data4Democracy/docker-scaffolding
"omnivore-app/omnivore+main:docker-compose.yml@redis,x-postgres" # get the redis and x-postgres services from omnivore
This creates a docker-compose.yml file with the following contents:
version: '3'
services:
redis:
image: redis:7.2.4
container_name: omnivore-redis
ports:
- 6379:6379
healthcheck:
test:
- CMD
- redis-cli
- --raw
- incr
- ping
mongo:
build: docker/mongo
image: mongo