docker-apps/dockge/compose.yaml

28 lines
873 B
YAML

services:
dockge:
image: louislam/dockge:1
container_name: dockge
restart: always
ports:
- 5001:5001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /docker/data/dockge/data:/app/data
# 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)
- /docker/apps:/docker/apps
environment:
# Tell Dockge where is your stacks directory
- DOCKGE_STACKS_DIR=/docker/apps
- DOCKGE_ENABLE_CONSOLE=true
networks:
- caddy_default
networks:
caddy_default:
external: true