mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
18 lines
526 B
YAML
18 lines
526 B
YAML
version: "3.8"
|
|
services:
|
|
dockge:
|
|
image: louislam/dockge:1
|
|
restart: unless-stopped
|
|
ports:
|
|
# Host Port : Container Port
|
|
- 5001:5001
|
|
volumes:
|
|
# 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)
|
|
- /opt/stacks:/opt/stacks
|
|
environment:
|
|
# Tell Dockge where is your stacks directory
|
|
- DOCKGE_STACKS_DIR=/opt/stacks
|