mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 13:14:03 +00:00
Update compose.yaml
This commit is contained in:
parent
ac75283b0f
commit
87a6436f28
1 changed files with 6 additions and 4 deletions
10
compose.yaml
10
compose.yaml
|
@ -7,14 +7,16 @@ services:
|
||||||
# Host Port : Container Port
|
# Host Port : Container Port
|
||||||
- 5001:5001
|
- 5001:5001
|
||||||
volumes:
|
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:
|
# If you want to use private registries, you need to share the auth file with Dockge:
|
||||||
# - /root/.docker/:/root/.docker
|
# - /root/.docker/:/root/.docker
|
||||||
|
|
||||||
# Docker Socket
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
# Dockge Config
|
|
||||||
- ./data:/app/data
|
|
||||||
# Your stacks directory in the host (The paths inside container must be the same as the host)
|
# Your stacks directory in the host (The paths inside container must be the same as the host)
|
||||||
|
# ⚠️⚠️ If you did it wrong, your data could end up be written into a wrong path.
|
||||||
|
# ✔️✔️✔️✔️ CORRECT: - /my-stacks:/my-stacks (Both paths match)
|
||||||
|
# ❌❌❌❌ WRONG: - /docker:/my-stacks (Both paths do not match)
|
||||||
- /opt/stacks:/opt/stacks
|
- /opt/stacks:/opt/stacks
|
||||||
environment:
|
environment:
|
||||||
# Tell Dockge where is your stacks directory
|
# Tell Dockge where is your stacks directory
|
||||||
|
|
Loading…
Reference in a new issue