Manage Docker Compose services from the terminal or browser.
720
Manage Docker Compose services from the terminal or browser.
I lacked a full-featured tool for managing containers using Docker Compose that covered all my needs. There is the excellent Dockge project, but it lacks features for managing individual services or conveniently viewing and filtering logs, for example, as in Dozzle.
Feature list:
The tool allows you to define your own set of commands or scripts for service management. If you have previously worked with lazydocker, this configuration will be familiar.
Configuration format:
customCommands:
# Name to display in the command list
- name: 📝 Compose edit
# Command to be executed
command: micro $COMPOSE_FILE
# Display command output in the current window
attach: false
List of variables:
COMPOSE_FIND_DEPTH - depth for searching compose files.COMPOSE_PATH - path to the directory with projects.COMPOSE_FILE - path to the compose file for the selected project.COMPOSE_PROJECT_NAME - name of the selected project.COMPOSE_CONTAINER_NAME - name of the selected container.COMPOSE_SERVICE_NAME - name of the selected service.COMPOSE_IMAGE_NAME - name of the image used in the selected service.This project became possible by combining the capabilities of popular utilities.
The interface is entirely based on fzf, and the image includes the following auxiliary tools:
compose, env, and Dockerfile files.yaml configuration.json format.To run the container, download the docker-compose.yml file and use the image from Docker Hub:
mkdir lazycompose && cd lazycompose
curl -sSL https://raw.githubusercontent.com/Lifailon/lazycompose/refs/heads/main/docker-compose.yml -o docker-compose.yml
docker-compose up -d
docker attach lazycompose
The interface and file editor support mouse control.
To enable web mode, change the TTYD_MODE variable to true and go to http://127.0.0.1:3333
Content type
Image
Digest
sha256:361016aeb…
Size
69.6 MB
Last updated
7 months ago
docker pull lifailon/lazycompose