services:
  homepage:
    image: ghcr.io/gethomepage/homepage:latest
    container_name: homepage
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      # Homelab LAN: * = geen host-check (DHCP/NPM hostnames wisselen)
      HOMEPAGE_ALLOWED_HOSTS: "*"
      PUID: 0
      PGID: 0
    volumes:
      - ./config:/app/config
      - ./config/custom.css:/app/config/custom.css:ro
      - ./config/custom.js:/app/config/custom.js:ro
      - ./public/images:/app/public/images:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
