Skip to content

Instantly share code, notes, and snippets.

@azs06
Last active October 22, 2024 12:14
Show Gist options
  • Save azs06/f8f15f0a5e5253a3ced2e3f067a88b6c to your computer and use it in GitHub Desktop.
Save azs06/f8f15f0a5e5253a3ced2e3f067a88b6c to your computer and use it in GitHub Desktop.
Docge
services:
dockge:
image: louislam/dockge:1
restart: unless-stopped
ports:
# Host Port : Container Port
- 5001:5001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./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)
- /home/ploi/containers/stacks:/home/ploi/containers/stacks
environment:
# Tell Dockge where is your stacks directory
- DOCKGE_STACKS_DIR=/home/ploi/containers/stacks
networks:
- nginx_proxy_manager_default
networks:
nginx_proxy_manager_default:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment