Skip to content

alx-mag/composerize-intellij-plugin

Repository files navigation

Docker Run Command to Compose Converter

A plugin for Intellij IDEs.

Converts docker run commands into yaml format when pasted into docker-compose.yml file.

Works like composerize.com web converter.

How to use

  1. Copy your docker run command text, for example:

    docker run --name some-postgres -e POSTGRES_PASSWORD_FILE=/run/secrets/postgres-passwd -d postgres
    
  2. Paste it into your docker-compose.yml file. You will get something like this:

    version: 3
    services:
      some-postgres:
        image: postgres
        environment:
          - POSTGRES_PASSWORD_FILE=/run/secrets/postgres-passwd
        container_name: some-postgres

Installation

  • Using the IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Docker Run Command to Compose Converter" > Install

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages