dockge/compose.yaml

19 lines
526 B
YAML
Raw Normal View History

2023-11-06 14:54:20 +00:00
version: "3.8"
services:
dockge:
2023-11-10 13:52:38 +00:00
image: louislam/dockge:1
restart: unless-stopped
2023-11-06 14:54:20 +00:00
ports:
2023-11-10 13:52:38 +00:00
# Host Port : Container Port
2023-11-06 14:54:20 +00:00
- 5001:5001
volumes:
2023-11-10 13:52:38 +00:00
# Docker Socket
2023-11-06 14:54:20 +00:00
- /var/run/docker.sock:/var/run/docker.sock
2023-11-10 13:52:38 +00:00
# Dockge Config
2023-11-10 10:16:52 +00:00
- ./data:/app/data
2023-11-10 13:52:38 +00:00
# Your stacks directory in the host (The paths inside container must be the same as the host)
2023-11-10 10:16:52 +00:00
- /opt/stacks:/opt/stacks
environment:
2023-11-10 13:52:38 +00:00
# Tell Dockge where is your stacks directory
2023-11-10 10:16:52 +00:00
- DOCKGE_STACKS_DIR=/opt/stacks