Add initial Docker Compose configuration and database setup for Dockge

This commit is contained in:
Peter Wood
2025-04-29 16:43:52 -04:00
parent 06209f6583
commit 734acd2ed4
6 changed files with 57 additions and 0 deletions

34
dockge/README.md Normal file
View File

@@ -0,0 +1,34 @@
# 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/
```

View File

@@ -0,0 +1,3 @@
{
"type": "sqlite"
}

BIN
dockge/data/dockge.db Normal file

Binary file not shown.

BIN
dockge/data/dockge.db-shm Normal file

Binary file not shown.

BIN
dockge/data/dockge.db-wal Normal file

Binary file not shown.

20
dockge/docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
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
# If you want to use private registries, you need to share the auth file with Dockge:
# - /root/.docker/:/root/.docker
# Stacks Directory
# ⚠️ READ IT CAREFULLY. If you did it wrong, your data could end up writing into a WRONG PATH.
# ⚠️ 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/