Sign inSign up

techblog/decompose

By techblog

•Updated almost 5 years ago

DeCompose application helps us to generate docker-compose file from existing containers

Image
0

10K+

techblog/decompose repository overview

Please :star: this repo if you find it useful


PayPal

⁠DeCompose

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⁠

Face Registring

⁠DeCompose Features

  • Generating docker-compose to online editor.
  • Generating docker-compose to file.
  • Swagger api documentation.

⁠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.

Face Registring

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.

⁠Installation

⁠Deepstack Trainer Installation

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"   

⁠Components and Libraries used in DeCompose

Tag summary

Content type

Image

Digest

Size

234.4 MB

Last updated

almost 5 years ago

docker pull techblog/decompose