compose.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. ---
  2. services:
  3. dockge:
  4. container_name: dockge
  5. image: docker.io/louislam/dockge:1.5.0
  6. volumes:
  7. - /var/run/docker.sock:/var/run/docker.sock
  8. - dockge-data:/app/data
  9. - /your-stacks-path:/your-stacks-path # <-- Change this to your stacks path
  10. environment:
  11. - DOCKGE_STACKS_DIR=/your-stacks-path # <-- Change this to your stacks path
  12. # --> (Optional) When using traefik
  13. # labels:
  14. # - traefik.enable=true
  15. # - traefik.http.routers.dockge-http.entrypoints=web
  16. # - traefik.http.routers.dockge-http.rule=Host(`your-dockge-fqdn`) # <-- Change this to your FQDN
  17. # - traefik.http.routers.dockge-https.entrypoints=websecure
  18. # - traefik.http.routers.dockge-https.rule=Host(`your-dockge-fqdn`) # <-- Change this to your FQDN
  19. # - traefik.http.routers.dockge-https.tls=true
  20. # - traefik.http.routers.dockge-https.tls.certresolver=cloudflare
  21. # networks:
  22. # - frontend
  23. # <--
  24. restart: unless-stopped
  25. volumes:
  26. dockge-data:
  27. # --> (Optional) When using traefik
  28. # networks:
  29. # frontend:
  30. # external: true
  31. # <--