compose.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. ---
  2. services:
  3. homepage:
  4. image: ghcr.io/gethomepage/homepage:v0.9.10
  5. container_name: homepage
  6. environment:
  7. - LOG_LEVEL=info
  8. # (Optional) Run as a specific user
  9. # - PUID=your-user-id
  10. # - PGID=your-group-id
  11. # (Optional) For secret variables
  12. # - HOMEPAGE_VAR_YOURSECRET=your-secret-key
  13. ports:
  14. - 3000:3000
  15. volumes:
  16. - ./config:/app/config
  17. - ./images:/app/images # for custom background images
  18. - ./icons:/app/icons # for custom icons
  19. restart: unless-stopped
  20. # (Optional) For secure docker socket integration
  21. # dockerproxy:
  22. # image: ghcr.io/tecnativa/docker-socket-proxy:0.3.0
  23. # container_name: homepage-demo-1-dockerproxy
  24. # environment:
  25. # - CONTAINERS=1 # Allow access to viewing containers
  26. # - SERVICES=1 # Allow access to viewing services (necessary when using Docker Swarm)
  27. # - TASKS=1 # Allow access to viewing tasks (necessary when using Docker Swarm)
  28. # - POST=0 # Disallow any POST operations (effectively read-only)
  29. # ports:
  30. # - 127.0.0.1:2375:2375
  31. # volumes:
  32. # - /run/docker.sock:/run/docker.sock:ro # Mounted as read-only
  33. # restart: unless-stopped