Add Docker support with pre-installed apps #2
+372
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds Docker deployment support for OpenUI with two modes: Full mode (everything containerized) and Hybrid mode (UI in container, agents on host).
Changes
Dockerfile
Multi-stage build with Alpine (builder) and Debian (production)
Uses oven/bun:1.3-debian for glibc compatibility with bun-pty
Pre-installs AI tools:
Claude Code (@anthropic-ai/claude-code)
OpenCode (opencode-ai)
Ralph (autonomous loop from frankbria/ralph-claude-code)
Node.js 22 via NodeSource for npm package support
Health check endpoint at /api/config
docker-compose.full.yml
Complete containerized deployment
Mounts project directories and git credentials
Resource limits (4 CPU, 4GB RAM)
Persistent volumes for state and plugin data
docker-compose.hybrid.yml
UI in container with host networking (Linux only)
Mounts host-installed AI tools
Docker socket access for host process spawning
Designed for environments where agents should run natively
Usage
bash
Full mode (recommended)
docker compose -f docker-compose.full.yml up -d
Hybrid mode (Linux only)
ANTHROPIC_API_KEY=your-key docker compose -f docker-compose.hybrid.yml up -d
Access at: http://localhost:6968
Notes
Hybrid mode uses network_mode: host which only works on Linux, not macOS/Windows Docker Desktop
ANTHROPIC_API_KEY environment variable required for Claude Code functionality