Go to file
2024-04-03 14:11:36 +02:00
lua/docker-compose fix: podman kill command is long 2024-04-03 14:11:36 +02:00
LICENSE fix: missing license 2023-10-05 10:20:24 +02:00
README.md feat: run through podman-compose if available 2024-03-28 16:39:01 +01:00

docker-compose.nvim

Forget your containers!

This plugin will handle docker-compose based containers automatically:

  • start them when entering a directory with a docker-compose configuration
  • stop them when leaving a directory with a docker-compose configuration

Containers are started through podman-compose if available, docker-compose otherwise.

Installation

lazy.nvim:

{
  "pipoprods/docker-compose.nvim",
  dependencies = {
    "akinsho/toggleterm.nvim",
  },
  config = true,
}

Usage

There's nothing to be done for a normal usage. The plugin will automatically handle your containers startup/cleanup.

require('docker-compose').up()
require('docker-compose').down()
require('docker-compose').kill()