compose.yaml.j2 1.1 KB

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