compose.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. kind: "compose"
  3. metadata:
  4. name: "Homepage"
  5. description: "A self-hosted homepage for your web applications"
  6. version: "0.0.1"
  7. date: "2023-10-01"
  8. author: "Christian Lempa"
  9. tags:
  10. - homepage
  11. - web
  12. - dashboard
  13. ---
  14. services:
  15. homepage:
  16. image: ghcr.io/gethomepage/homepage:v1.4.6
  17. container_name: homepage
  18. environment:
  19. # (Required) See https://gethomepage.dev/installation/#homepage_allowed_hosts
  20. - HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_ALLOWED_HOSTS:?HOMEPAGE_ALLOWED_HOSTS not set}
  21. - LOG_LEVEL=info
  22. # (Optional) Run as a specific user
  23. # - PUID=your-user-id
  24. # - PGID=your-group-id
  25. # (Optional) For secret variables
  26. # - HOMEPAGE_VAR_YOURSECRET=your-secret-key
  27. ports:
  28. - 3000:3000
  29. volumes:
  30. - ./config:/app/config
  31. - ./images:/app/images # for custom background images
  32. - ./icons:/app/icons # for custom icons
  33. restart: unless-stopped
  34. # (Optional) For secure docker socket integration
  35. # dockerproxy:
  36. # image: ghcr.io/tecnativa/docker-socket-proxy:v0.4.0
  37. # container_name: homepage-demo-1-dockerproxy
  38. # environment:
  39. # - CONTAINERS=1 # Allow access to viewing containers
  40. # - SERVICES=1 # Allow access to viewing services (necessary when using Docker Swarm)
  41. # - TASKS=1 # Allow access to viewing tasks (necessary when using Docker Swarm)
  42. # - POST=0 # Disallow any POST operations (effectively read-only)
  43. # ports:
  44. # - 127.0.0.1:2375:2375
  45. # volumes:
  46. # - /run/docker.sock:/run/docker.sock:ro # Mounted as read-only
  47. # restart: unless-stopped