Skip to content

Add modern multi-stage Dockerfile for Hyperion.ng#1

Draft
Copilot wants to merge 6 commits into
mainfrom
copilot/add-modern-dockerfile
Draft

Add modern multi-stage Dockerfile for Hyperion.ng#1
Copilot wants to merge 6 commits into
mainfrom
copilot/add-modern-dockerfile

Conversation

Copy link
Copy Markdown

Copilot AI commented Oct 26, 2025

Implements a production-ready Docker setup for Hyperion.ng ambient lighting software with modern best practices and comprehensive deployment tooling.

Core Implementation

Dockerfile

  • Multi-stage build: Debian Bookworm builder + minimal runtime (~70% size reduction)
  • Non-root hyperion user for security
  • Exec-form health checks for proper signal handling
  • Exposes ports: 8090 (web UI), 19444 (JSON), 19445 (Protobuf), 19400 (Flatbuffer), 2100 (Boblight)

docker-compose.yml

  • Host network mode for LED device discovery
  • Privileged mode option for hardware access
  • Persistent config volume mount

Makefile

  • 15+ commands: build, deploy, backup/restore, logs, stats

Documentation

  • README.md: Full reference (quick start, configuration, troubleshooting, security)
  • QUICKSTART.md: 5-minute deployment guide
  • CONTRIBUTING.md: Development workflow and standards
  • examples/: Alternative docker-compose configurations (bridge network, specific devices, dev mode)

CI/CD

  • GitHub Actions workflow with Docker build + Hadolint linting
  • Minimal GITHUB_TOKEN permissions (contents: read)

Quick Start

git clone https://github.com/stephenscholz/hyperion-docker.git
cd hyperion-docker
docker-compose up -d
# Access web UI at http://localhost:8090

Security

  • CodeQL scan: 0 alerts
  • Non-root execution throughout
  • Minimal runtime dependencies
  • Secure workflow permissions
Original prompt

i want a repo with an modern dockerfile for hyperion.ng


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 5 commits October 26, 2025 21:25
Co-authored-by: stephenscholz <58551765+stephenscholz@users.noreply.github.com>
Co-authored-by: stephenscholz <58551765+stephenscholz@users.noreply.github.com>
Co-authored-by: stephenscholz <58551765+stephenscholz@users.noreply.github.com>
Co-authored-by: stephenscholz <58551765+stephenscholz@users.noreply.github.com>
Co-authored-by: stephenscholz <58551765+stephenscholz@users.noreply.github.com>
Copilot AI changed the title [WIP] Add modern Dockerfile for hyperion.ng Add modern multi-stage Dockerfile for Hyperion.ng Oct 26, 2025
Copilot AI requested a review from stephenscholz October 26, 2025 21:34
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.

2 participants