# Homepage Admin UI — draait op de NAS (grafisch sites toevoegen)
# Start: docker compose -f docker-compose.admin.yml up -d --build
services:
  homepage-admin:
    build: ./admin
    container_name: homepage-admin
    restart: unless-stopped
    ports:
      - "3010:3010"
    environment:
      PROXMOX_PASSWORD: ${PROXMOX_PASSWORD:-WaQTUw2t}
      HOMEPAGE_DIR: /apps/homepage
    volumes:
      - /volume1/docker/homelab-configs/apps:/apps:rw
      - /var/run/docker.sock:/var/run/docker.sock
    working_dir: /apps/homepage/admin
    command: python server.py
