Explorar el Código

Merge pull request #499 from ChristianLempa/416-add-dockge-to-boilerplates

Add dockge compose template
Christian Lempa hace 1 año
padre
commit
6f43f84846
Se han modificado 1 ficheros con 31 adiciones y 0 borrados
  1. 31 0
      docker-compose/dockge/compose.yaml

+ 31 - 0
docker-compose/dockge/compose.yaml

@@ -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
+# <--