NH3-Docker
This commit is contained in:
18
compose/dockge/compose.yaml
Normal file → Executable file
18
compose/dockge/compose.yaml
Normal file → Executable file
@@ -8,24 +8,28 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- 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)
|
||||
- /opt/docker/compose:/opt/docker/compose
|
||||
labels:
|
||||
- homepage.group=ESH
|
||||
- homepage.name=Dockge
|
||||
- homepage.icon=si-portainer
|
||||
- homepage.description=Docker
|
||||
- homepage.href=http://10.0.50.45:5001
|
||||
environment:
|
||||
# Tell Dockge where is your stacks directory
|
||||
- DOCKGE_STACKS_DIR=/opt/docker/compose
|
||||
networks:
|
||||
- tnet
|
||||
|
||||
backup:
|
||||
image: offen/docker-volume-backup:latest
|
||||
restart: always
|
||||
volumes:
|
||||
# volumes to backup.
|
||||
- dockge_data:/backup/dockge:ro
|
||||
# location to backup
|
||||
- /mnt/backup/docker/esh-vm-docker/dockge:/archive
|
||||
# can omit below if not stopping service.
|
||||
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
@@ -33,8 +37,10 @@ services:
|
||||
- .env
|
||||
networks:
|
||||
- tnet
|
||||
|
||||
volumes:
|
||||
dockge_data:
|
||||
|
||||
networks:
|
||||
tnet:
|
||||
name: traefik-net
|
||||
|
||||
Reference in New Issue
Block a user