This commit is contained in:
2026-02-21 16:55:10 +01:00
commit 1b8bf79d46
49 changed files with 4347 additions and 0 deletions

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
services:
backend:
build: ./backend
environment:
- HA_BASE_URL=${HA_BASE_URL:-http://10.0.0.2:8123}
- HA_TOKEN=${HA_TOKEN}
- DATABASE_URL=sqlite:///./data/ha_explorer.db
- CORS_ORIGINS=["http://localhost", "http://localhost:8080"]
volumes:
- db_data:/app/data
ports:
- "8000:8000"
restart: unless-stopped
frontend:
build: ./frontend
ports:
- "8080:80"
depends_on:
- backend
restart: unless-stopped
volumes:
db_data: