feat: Add dockge compose

This commit is contained in:
Tony Du 2025-02-11 14:13:14 -08:00
parent 07b3dfb063
commit b259b9da5e
2 changed files with 44 additions and 0 deletions
docker/compose

@ -0,0 +1,36 @@
---
version: "3.8"
networks:
traefik:
external: true
services:
dockge:
image: louislam/dockge:1.4.2
container_name: dockge
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${DATA_DIRECTORY:-/mnt/docker/volumes/dockge/data}:/app/data
- ${STACKS_DIRECTORY:-/mnt/docker/volumes/dockge/stacks}:/opt/stacks
environment:
# Tell Dockge where to find the stacks
- DOCKGE_STACKS_DIR=/opt/stacks
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.dockge.rule=Host(`${DOCKGE_HOST:-dockge.jumper.mnke.org}`)"
- "traefik.http.routers.dockge.entrypoints=websecure"
- "traefik.http.routers.dockge.tls.certresolver=letsencrypt"
- "traefik.http.services.dockge.loadbalancer.server.port=5001"
- "traefik.swarm.network=traefik"
deploy:
resources:
limits:
cpus: '0.5'
memory: 256M
reservations:
cpus: '0.25'
memory: 64M

@ -238,3 +238,11 @@ services:
- "traefik.http.routers.wizarr.tls=true"
- "traefik.http.services.wizarr.loadbalancer.server.port=5690"
- "traefik.docker.network=traefik"
deploy:
resources:
limits:
cpus: '0.2'
memory: 256MM
reservations:
cpus: '0.1'
memory: 64M