mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-24 17:24:25 +01:00
dockge compose template
This commit is contained in:
parent
9bd223d6ba
commit
e337747b93
31
docker-compose/dockge/compose.yaml
Normal file
31
docker-compose/dockge/compose.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
services:
|
||||
dockge:
|
||||
container_name: dockge
|
||||
image: louislam/dockge:1.3.3
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- dockge-data:/app/data
|
||||
- /your-stacks-path:/your-stacks-path # <-- Change this to your stacks path
|
||||
environment:
|
||||
- DOCKGE_STACKS_DIR=/your-stacks-path # <-- Change this to your stacks path
|
||||
# --> (Optional) When using traefik
|
||||
# labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.dockge-http.entrypoints=web
|
||||
# - traefik.http.routers.dockge-http.rule=Host(`your-dockge-fqdn`) # <-- Change this to your FQDN
|
||||
# - traefik.http.routers.dockge-https.entrypoints=websecure
|
||||
# - traefik.http.routers.dockge-https.rule=Host(`your-dockge-fqdn`) # <-- Change this to your FQDN
|
||||
# - traefik.http.routers.dockge-https.tls=true
|
||||
# - traefik.http.routers.dockge-https.tls.certresolver=cloudflare
|
||||
# networks:
|
||||
# - frontend
|
||||
# <--
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
dockge-data:
|
||||
# --> (Optional) When using traefik
|
||||
# networks:
|
||||
# frontend:
|
||||
# external: true
|
||||
# <--
|
@ -1,27 +0,0 @@
|
||||
---
|
||||
services:
|
||||
dockge:
|
||||
container_name: dockge-demo-1
|
||||
image: louislam/dockge:1.3.3
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- dockge-data:/app/data
|
||||
- /home/xcad:/home/xcad
|
||||
environment:
|
||||
- DOCKGE_STACKS_DIR=/home/xcad
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.dockge-demo-1-http.entrypoints=web
|
||||
- traefik.http.routers.dockge-demo-1-http.rule=Host(`dockge-demo-1.srv-demo-1.home.clcreative.de`)
|
||||
- traefik.http.routers.dockge-demo-1-https.entrypoints=websecure
|
||||
- traefik.http.routers.dockge-demo-1-https.rule=Host(`dockge-demo-1.srv-demo-1.home.clcreative.de`)
|
||||
- traefik.http.routers.dockge-demo-1-https.tls=true
|
||||
- traefik.http.routers.dockge-demo-1-https.tls.certresolver=cloudflare
|
||||
networks:
|
||||
- frontend
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
dockge-data:
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user