# EG4 Agent — one-command run: # # 1) cp .env.example .env # then fill in your EG4 login # 2) docker compose up -d --build # 3) open http://localhost:8000 # # READ-ONLY monitor + optional LLM advisor for EG4 / Luxpower inverters. # It can VIEW your inverter but can never change a setting. services: solarscope: build: . image: solarscope:latest container_name: solarscope restart: unless-stopped ports: # host:container — served on localhost only. Change to "0.0.0.0:8000:8000" # (and trust your LAN) if you want other devices to reach it. - "127.0.0.1:8000:8000" env_file: - .env # your EG4 login (+ optional OpenRouter key) volumes: - ./data:/app/data # SQLite history DB (created on first run) - ./manuals:/app/manuals # drop your OWN inverter PDFs here (never committed) - ./.env:/app/.env:ro # config, mounted read-only into the container