[go: up one dir, main page]

Skip to content

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

License

Notifications You must be signed in to change notification settings

t0mer/DeCompose

Repository files navigation

Please ⭐ 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