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