mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: add dockge
This commit is contained in:
@@ -10,6 +10,7 @@ include:
|
||||
- byparr/compose.yaml
|
||||
- comet/compose.yaml
|
||||
- dash/compose.yaml
|
||||
- dockge/compose.yaml
|
||||
- dozzle/compose.yaml
|
||||
- flame/compose.yaml
|
||||
- gluetun/compose.yaml
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
# Dockge is a management interface for Docker compose applications.
|
||||
#
|
||||
# Note that with the way this template is setup, dockge will not work for running compose files.
|
||||
# It detects the individual compose files and tries to run them as a separate compose project
|
||||
# But our compose.yaml file is a single compose project that includes all the other compose files.
|
||||
# Dockge does not detect this single compose project and tries to run each of the included compose files as a separate project.
|
||||
#
|
||||
# You should only use dockge for editing the compose.yaml files and the terminal.
|
||||
DOCKGE_HOSTNAME=
|
||||
@@ -0,0 +1,31 @@
|
||||
services:
|
||||
dockge:
|
||||
image: louislam/dockge:1
|
||||
container_name: dockge
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 5001
|
||||
environment:
|
||||
# Tell Dockge where to find the stacks
|
||||
- DOCKGE_STACKS_DIR=${DOCKER_APP_DIR}
|
||||
- DOCKGE_ENABLE_CONSOLE=true
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.dockge.rule=Host(`${DOCKGE_HOSTNAME?}`)"
|
||||
- "traefik.http.routers.dockge.entrypoints=websecure"
|
||||
- "traefik.http.routers.dockge.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.dockge.middlewares=authelia@docker"
|
||||
- "flame.type=app"
|
||||
- "flame.name=DockGE"
|
||||
- "flame.url=https://${DOCKGE_HOSTNAME?}"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${DOCKER_DATA_DIR}/dockge:/app/data
|
||||
# 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)
|
||||
- ${DOCKER_APP_DIR}:${DOCKER_APP_DIR}
|
||||
profiles:
|
||||
- dockge
|
||||
- all
|
||||
Reference in New Issue
Block a user