Skip to content

Add Docker Compose setup and bridge-network device discovery#102

Open
tuyndoan wants to merge 1 commit into
t0mer:masterfrom
releasehubs:feat/docker-compose-discovery
Open

Add Docker Compose setup and bridge-network device discovery#102
tuyndoan wants to merge 1 commit into
t0mer:masterfrom
releasehubs:feat/docker-compose-discovery

Conversation

@tuyndoan

Copy link
Copy Markdown

Summary

  • Complete the multi-stage Dockerfile (copy React build, expose port 7020, add startup command).
  • Add docker-compose.yml for local deployment with persistent ./data volume.
  • Add DISCOVERY_HOSTS env var for direct Broadlink probing when UDP broadcast discovery fails on Docker bridge networks.
  • Add missing cryptography dependency and sync frontend package-lock.json for reproducible Docker builds.

Test plan

  • docker compose up --build -d builds and starts successfully
  • App reachable at http://localhost:7020
  • /api/version returns 200
  • With DISCOVERY_HOSTS set to a known device IP, /autodiscover?freshscan=1 returns the device
  • IR learn/send still works against a discovered device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant