mirror of
https://github.com/louislam/dockge.git
synced 2025-03-31 13:32:21 +00:00
compose
This commit is contained in:
parent
9bfb63a5d0
commit
ee9d5c822a
1 changed files with 7 additions and 10 deletions
17
compose.yaml
17
compose.yaml
|
@ -1,22 +1,19 @@
|
|||
services:
|
||||
dockge:
|
||||
image: louislam/dockge:1
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# Host Port : Container Port
|
||||
- 5001:5001
|
||||
- 9000: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)
|
||||
- /opt/stacks:/opt/stacks
|
||||
- /mnt/hdd/stacks:/mnt/hdd/stacks
|
||||
environment:
|
||||
# Tell Dockge where is your stacks directory
|
||||
- DOCKGE_STACKS_DIR=/opt/stacks
|
||||
# Tell Dockge where to find the stacks
|
||||
- DOCKGE_STACKS_DIR=/mnt/hdd/stacks
|
Loading…
Add table
Reference in a new issue