refactor: rename project to LedGrab, split HA integration into separate repo
Lint & Test / test (push) Successful in 1m56s
Lint & Test / test (push) Successful in 1m56s
- Rename Python package: wled_controller -> ledgrab - Rename env var prefix: WLED_ -> LEDGRAB_ (with auto-migration for old vars) - Rename localStorage key: wled_api_key -> ledgrab_api_key (with migration) - Rename HA integration domain: wled_screen_controller -> ledgrab - Update all imports, build scripts, Docker, installer, config, docs - Remove HA integration (moved to ledgrab-haos-integration repo) - Remove hacs.json (belongs in HA repo now) - Add startup warning for users with old WLED_ env vars - All tests pass (715/715), ruff clean, tsc clean, frontend builds
This commit is contained in:
+17
-17
@@ -1,14 +1,14 @@
|
||||
services:
|
||||
wled-controller:
|
||||
ledgrab:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: ledgrab:latest
|
||||
container_name: wled-screen-controller
|
||||
container_name: ledgrab
|
||||
restart: unless-stopped
|
||||
|
||||
ports:
|
||||
- "${WLED_PORT:-8080}:8080"
|
||||
- "${LEDGRAB_PORT:-8080}:8080"
|
||||
|
||||
volumes:
|
||||
# Persist device data and configuration across restarts
|
||||
@@ -22,37 +22,37 @@ services:
|
||||
environment:
|
||||
## Server
|
||||
# Bind address and port (usually no need to change)
|
||||
- WLED_SERVER__HOST=0.0.0.0
|
||||
- WLED_SERVER__PORT=8080
|
||||
- WLED_SERVER__LOG_LEVEL=INFO
|
||||
- LEDGRAB_SERVER__HOST=0.0.0.0
|
||||
- LEDGRAB_SERVER__PORT=8080
|
||||
- LEDGRAB_SERVER__LOG_LEVEL=INFO
|
||||
# CORS origins — add your LAN IP for remote access, e.g.:
|
||||
# WLED_SERVER__CORS_ORIGINS=["http://localhost:8080","http://192.168.1.100:8080"]
|
||||
# LEDGRAB_SERVER__CORS_ORIGINS=["http://localhost:8080","http://192.168.1.100:8080"]
|
||||
|
||||
## Auth
|
||||
# Override the default API key (STRONGLY recommended for production):
|
||||
# WLED_AUTH__API_KEYS__main=your-secure-key-here
|
||||
# LEDGRAB_AUTH__API_KEYS__main=your-secure-key-here
|
||||
# Generate a key: openssl rand -hex 32
|
||||
|
||||
## Display (Linux X11 only)
|
||||
- DISPLAY=${DISPLAY:-:0}
|
||||
|
||||
## Processing defaults
|
||||
#- WLED_PROCESSING__DEFAULT_FPS=30
|
||||
#- WLED_PROCESSING__BORDER_WIDTH=10
|
||||
#- LEDGRAB_PROCESSING__DEFAULT_FPS=30
|
||||
#- LEDGRAB_PROCESSING__BORDER_WIDTH=10
|
||||
|
||||
## MQTT (optional — for Home Assistant auto-discovery)
|
||||
#- WLED_MQTT__ENABLED=true
|
||||
#- WLED_MQTT__BROKER_HOST=192.168.1.2
|
||||
#- WLED_MQTT__BROKER_PORT=1883
|
||||
#- WLED_MQTT__USERNAME=
|
||||
#- WLED_MQTT__PASSWORD=
|
||||
#- LEDGRAB_MQTT__ENABLED=true
|
||||
#- LEDGRAB_MQTT__BROKER_HOST=192.168.1.2
|
||||
#- LEDGRAB_MQTT__BROKER_PORT=1883
|
||||
#- LEDGRAB_MQTT__USERNAME=
|
||||
#- LEDGRAB_MQTT__PASSWORD=
|
||||
|
||||
# Uncomment for Linux screen capture (requires host network for X11 access)
|
||||
# network_mode: host
|
||||
|
||||
networks:
|
||||
- wled-network
|
||||
- ledgrab-network
|
||||
|
||||
networks:
|
||||
wled-network:
|
||||
ledgrab-network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user