mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 05:40:11 -08:00
Add initial Docker Compose configuration and database setup for Dockge
This commit is contained in:
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