Dockge
Use these steps to run Dockge with Docker Compose.
Create the Compose File
Create a docker-compose.yml file with the Dockge service:
services:
dockge:
image: louislam/dockge:1
restart: unless-stopped
ports:
- "5001:5001"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
- ./opt/stacks:/opt/stacks
environment:
- DOCKGE_STACKS_DIR=${DOCKGE_STACKS_DIR}
Create the Environment File
Create a .env file in the same directory as docker-compose.yml:
DOCKGE_STACKS_DIR=./opt/stacks
Start Dockge
Run Docker Compose from the directory containing both files:
docker compose up -d
Dockge will be available at http://localhost:5001.
Reverse Proxy / HTTPS
If you need public HTTPS access, put Dockge behind a reverse proxy like Nginx Proxy Manager.