Dockge
Dockge is a lightweight, self-hosted Docker Compose stack manager with a clean and user-friendly web interface. It allows you to easily create, edit, deploy, and monitor your Docker Compose stacks in one place—without needing to touch the command line. This template includes: Dockge web UI for managing stacks Direct access to your Docker socket for real-time control Persistent storage for app data and stack configurations Environment variable support for flexible setup Perfect for developers and homelab users who want a simple, modern alternative to managing Docker Compose projects manually.
yaml
docker-compose.yml
services:
dockge:
image: louislam/dockge:1
container_name: dockge
restart: unless-stopped
ports:
- ${HOST_PORT:-5001}:5001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${APP_DATA}:/app/data
- ${STACKS_DIR}:${STACKS_DIR}
environment:
- DOCKGE_STACKS_DIR=${STACKS_DIR}
.ENV
.env example
HOST_PORT=5001
APP_DATA=./data
STACKS_DIR=/opt/stacks
deployment
Quick Start
- Create a working directory named after the service.
- Copy the compose file and generated `.env` into that directory.
- Review the variables and replace placeholders with real values.
- Run `docker compose up -d`.
mkdir dockge
cd dockge
# create docker-compose.yml
# create .env
docker compose up -d