forked from louislam/dockge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
35 lines (33 loc) · 1.44 KB
/
compose.yaml
File metadata and controls
35 lines (33 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
dockge:
image: chisdealhdyt/dockge:1
restart: unless-stopped
ports:
# Host Port : Container Port
- 5001:5001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
# Optional GPU detection mounts for containerized Dockge on Linux hosts.
# Uncomment the lines that match your host if you want the web UI to detect GPUs reliably.
# Intel / AMD / many iGPUs:
# - /sys/class/drm:/sys/class/drm:ro
# NVIDIA:
# Do not mount into /proc inside the container. Docker blocks that.
# Mount it to a normal path instead:
# - /proc/driver/nvidia:/run/dockge-host/proc-driver-nvidia:ro
# - /usr/bin/nvidia-smi:/usr/bin/nvidia-smi:ro
# 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
# Optional GPU device passthrough for containerized Dockge on Linux hosts.
# Uncomment if you want Dockge to inspect Intel / AMD render nodes directly.
# devices:
# - /dev/dri:/dev/dri
environment:
# Tell Dockge where is your stacks directory
- DOCKGE_STACKS_DIR=/opt/stacks