mirror of
https://github.com/acedanger/docker.git
synced 2025-12-05 21:40:12 -08:00
Add initial Docker Compose configuration and database setup for Dockge
This commit is contained in:
34
dockge/README.md
Normal file
34
dockge/README.md
Normal 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/
|
||||
```
|
||||
3
dockge/data/db-config.json
Normal file
3
dockge/data/db-config.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "sqlite"
|
||||
}
|
||||
BIN
dockge/data/dockge.db
Normal file
BIN
dockge/data/dockge.db
Normal file
Binary file not shown.
BIN
dockge/data/dockge.db-shm
Normal file
BIN
dockge/data/dockge.db-shm
Normal file
Binary file not shown.
BIN
dockge/data/dockge.db-wal
Normal file
BIN
dockge/data/dockge.db-wal
Normal file
Binary file not shown.
20
dockge/docker-compose.yml
Normal file
20
dockge/docker-compose.yml
Normal 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/
|
||||
Reference in New Issue
Block a user