A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager
A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager
A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager.
View Video: https://youtu.be/AWAlOQeNpgU?t=48
🧑💼 Manage your compose.yaml files
⌨️ Interactive Editor for compose.yaml
🦦 Interactive Web Terminal
🕷️ (1.4.0 🆕) Multiple agents support - You can manage multiple stacks from different Docker hosts in one single interface
🏪 Convert docker run ... commands into compose.yaml
📙 File based structure - Dockge won't kidnap your compose files, they are stored on your drive as usual. You can interact with them using normal docker compose commands
🚄 Reactive - Everything is just responsive. Progress (Pull/Up/Down) and terminal output are in real-time
🐣 Easy-to-use & fancy UI - If you love Uptime Kuma's UI/UX, you will love this one too
Requirements:
apt install podman-docker)/opt/stacks# Create directories that store your stacks and stores Dockge's stack
mkdir -p /opt/stacks /opt/dockge
cd /opt/dockge
# Download the compose.yaml
curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml
# Start the server
docker compose up -d
# If you are using docker-compose V1 or Podman
# docker-compose up -dDockge is now running on http://localhost:5001
If you want to store your stacks in another directory, you can generate your compose.yaml file by using the following URL with custom query strings.
# Download your compose.yaml
curl "https://dockge.kuma.pet/compose.yaml?port=5001&stacksPath=/opt/stacks" --output compose.yaml5001/opt/stacksAlso, once compose is generated/downloaded, add the PUID and PGID section below to your compose environment: section to set stack ownership, otherwise default is root
# Both PUID and PGID must be set for it to do anything
- PUID=1000 # Set the stack file/dir ownership to this user
- PGID=1000 # Set the stack file/dir ownership to this groupInteractive compose.yaml generator is available on: https://dockge.kuma.pet
Copy and paste your compose from the following:
If you want to store your stacks in another directory, you can change the DOCKGE_STACKS_DIR environment variable and volumes.
compose:
…cd /opt/dockge
docker compose pull && docker compose up -dIf you love this project, please consider giving it a ⭐.
https://github.com/louislam/dockge/issues
https://github.com/louislam/dockge/discussions
If you want to translate Dockge into your language, please read Translation Guide
Be sure to read the guide, as we don't accept all types of pull requests and don't want to waste your time.
"Dockge" is a coinage word which is created by myself. I originally hoped it sounds like Dodge, but apparently many people called it Dockage, it is also acceptable.
The naming idea came from Twitch emotes like sadge, bedge or wokege. They all end in -ge.
compose.yaml?The main objective of Dockge is to try to use the docker compose.yaml for everything. If you want to manage a single container, you can just use Portainer or Docker CLI.
Yes, you can. However, you need to move your compose file into the stacks directory:
/opt/stacks/<stackName>/compose.yamlYes or no. Portainer provides a lot of Docker features. While Dockge is currently only focusing on docker-compose with a better user interface and better user experience.
If you want to manage your container with docker-compose only, the answer may be yes.
If you still need to manage something like docker networks, single containers, the answer may be no.
Yes, you can.
Dockge is built on top of Compose V2. compose.yaml also known as docker-compose.yml.
Status of this project?
line numbers is not correct when a line is too long
Critical Security: Docker socket exposure enables complete host compromise
Security Issue
considering to move away from portainer... but the project looks dead with all the security issues remaining open... Is it dead?
parsePort: "e.split is not a function"
Dockage mislable stack as not started because of an unavailble container
Security Issue
Authenticated Path Traversal in stack name allows arbitrary .env/Compose file disclosure and arbitrary directory deletion
Security Advisory Notification: GHSA-fmpw-r87j-gjwr