mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 06:40:12 -08:00
35 lines
895 B
Markdown
35 lines
895 B
Markdown
|
|
# Dockge
|
|
|
|
## About
|
|
|
|
A fancy, easy-to-use and reactive self-hosted `docker-compose.yml` stack-oriented manager.
|
|
|
|
## Links
|
|
|
|
🔗 <https://github.com/louislam/dockge>
|
|
🔗 <https://dockge.kuma.pet/>
|
|
|
|
## `compose.yml` example
|
|
|
|
The `compose.yml` (or `docker-compose.yml`) file needs to be saved in `/opt/dockge/compose.yml` or `/opt/dockge/docker-compose.yml`.
|
|
|
|
```yaml
|
|
services:
|
|
dockge:
|
|
image: louislam/dockge:1
|
|
restart: unless-stopped
|
|
ports:
|
|
# Host Port : Container Port
|
|
- 5001:5001
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./data:/app/data
|
|
# ⚠️ 1. FULL path only. No relative path (MUST)
|
|
# ⚠️ 2. Left Stacks Path === Right Stacks Path (MUST)
|
|
- /home/acedanger/docker/:/home/acedanger/docker/
|
|
environment:
|
|
# Tell Dockge where is your stacks directory
|
|
- DOCKGE_STACKS_DIR=/home/acedanger/docker/
|
|
```
|