Please ⭐ this repo if you find it useful
DeCompose is FastAPI based web application helps us to generate docker-compose file from existing containers. With a very simple UI you can generate docker-compose file for any existing container (Running or not), Just nevigate to DeCompose address and start generating.
DeCompose source code is available on GitHub via https://github.com/t0mer/DeCompose
- Generating docker-compose to online editor.
- Generating docker-compose to file.
- Swagger api documentation.
DeCompose includes API and Swagger so you can automate the docker-compose generating. this gives you the abillity to backup your compose files remotely.
The API contains three get methods:
- /api/containers - Returns list of existing containers.
- /api/generate - Generates docker-compose and returns it as string.
- /api/download - Generates docker-compose and returns it as file.
Deepstack Trainer installation is very easy using docker-compose:
version: "3.7"
services:
decompose:
image: techblog/decompose
container_name: decompose
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "8080:8080"