dockge/compose.yaml

24 lines
775 B
YAML
Raw Permalink Normal View History

2023-11-11 15:18:37 +01:00
version: "3.8"
services:
dockge:
image: louislam/dockge:1
restart: unless-stopped
ports:
# Host Port : Container Port
- 5001:5001
volumes:
2023-11-13 16:32:37 +01:00
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
2023-11-11 16:43:53 +01:00
# If you want to use private registries, you need to share the auth file with Dockge:
# - /root/.docker/:/root/.docker
2023-11-27 17:53:18 +01:00
# 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)
2023-11-11 15:18:37 +01:00
- /opt/stacks:/opt/stacks
environment:
# Tell Dockge where is your stacks directory
- DOCKGE_STACKS_DIR=/opt/stacks