compose.yaml 1.5 KB

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