feat: replace onebox ingress with SmartProxy
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# @serve.zone/onebox
|
||||
|
||||
> 🚀 Self-hosted Docker Swarm platform with Caddy reverse proxy, automatic SSL, and real-time WebSocket updates
|
||||
> 🚀 Self-hosted Docker Swarm platform with SmartProxy reverse proxy, automatic SSL, and real-time WebSocket updates
|
||||
|
||||
**Onebox** transforms any Linux server into a powerful container hosting platform. Deploy Docker Swarm services with automatic HTTPS, DNS configuration, and Caddy reverse proxy running as a Docker service - all managed through a modern web interface with real-time updates.
|
||||
**Onebox** transforms any Linux server into a powerful container hosting platform. Deploy Docker Swarm services with automatic HTTPS, DNS configuration, and SmartProxy reverse proxy running as a Docker service - all managed through a modern web interface with real-time updates.
|
||||
|
||||
## Issue Reporting and Security
|
||||
|
||||
@@ -10,12 +10,12 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
|
||||
|
||||
## What Makes Onebox Different? 🎯
|
||||
|
||||
- **Caddy Reverse Proxy in Docker** - Production-grade HTTP/HTTPS proxy running as a Swarm service with native service discovery, HTTP/2, HTTP/3, and bidirectional WebSocket proxying
|
||||
- **SmartProxy Reverse Proxy in Docker** - Production-grade HTTP/HTTPS proxy running as a Swarm service with native service discovery, TLS termination, and bidirectional WebSocket proxying
|
||||
- **Docker Swarm First** - All workloads (including the reverse proxy!) run as Swarm services on the overlay network for seamless service-to-service communication
|
||||
- **Real-time Everything** - WebSocket-powered live updates for service status, logs, and metrics across all connected clients
|
||||
- **Single Executable** - Compiles to a standalone binary - just run it, no dependencies
|
||||
- **Private Registry Included** - Built-in Docker registry with token-based auth and auto-deploy on push
|
||||
- **Zero Config SSL** - Automatic Let's Encrypt certificates with inline `load_pem` (no volume mounts needed)
|
||||
- **Zero Config SSL** - Automatic Let's Encrypt certificates passed directly into SmartProxy routes
|
||||
- **Cloudflare Integration** - Automatic DNS record management and zone synchronization
|
||||
- **Modern Stack** - Deno runtime + SQLite database + typed web UI
|
||||
|
||||
@@ -24,7 +24,7 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
|
||||
### Core Platform
|
||||
|
||||
- 🐳 **Docker Swarm Management** - Deploy, scale, and orchestrate services with Swarm mode
|
||||
- 🌐 **Caddy Reverse Proxy** - Production-grade proxy running as Docker service with SNI, HTTP/2, HTTP/3
|
||||
- 🌐 **SmartProxy Reverse Proxy** - Production-grade proxy running as Docker service with TLS termination and WebSocket support
|
||||
- 🔒 **Automatic SSL Certificates** - Let's Encrypt integration with hot-reload and renewal monitoring
|
||||
- ☁️ **Cloudflare DNS Integration** - Automatic DNS record creation and zone synchronization
|
||||
- 📦 **Built-in Registry** - Private Docker registry with per-service tokens and auto-update
|
||||
@@ -117,7 +117,7 @@ Onebox is built with modern technologies for performance and developer experienc
|
||||
│ ┌──────────────────────────────┐ │
|
||||
│ │ onebox-network (overlay) │ │
|
||||
│ ├──────────────────────────────┤ │
|
||||
│ │ onebox-caddy (Caddy proxy) │ │
|
||||
│ │ onebox-smartproxy (proxy) │ │
|
||||
│ │ HTTP (80) + HTTPS (443) │ │
|
||||
│ │ Admin API → config updates │ │
|
||||
│ ├──────────────────────────────┤ │
|
||||
@@ -137,7 +137,7 @@ Onebox is built with modern technologies for performance and developer experienc
|
||||
| Component | Description |
|
||||
| ----------------------- | -------------------------------------------------------------------- |
|
||||
| **Deno Runtime** | Modern TypeScript with built-in security |
|
||||
| **Caddy Reverse Proxy** | Docker Swarm service with HTTP/2, HTTP/3, SNI, and WebSocket support |
|
||||
| **SmartProxy Reverse Proxy** | Docker Swarm service with TLS termination and WebSocket support |
|
||||
| **Docker Swarm** | Container orchestration (all workloads run as services) |
|
||||
| **SQLite Database** | Configuration, metrics, and user data |
|
||||
| **OpsServer** | TypedRequest API and TypedSocket real-time updates |
|
||||
@@ -321,7 +321,7 @@ onebox/
|
||||
│ ├── classes/ # Core implementations
|
||||
│ │ ├── onebox.ts # Main coordinator
|
||||
│ │ ├── reverseproxy.ts # Reverse proxy orchestration
|
||||
│ │ ├── caddy.ts # Caddy Docker service management
|
||||
│ │ ├── smartproxy.ts # SmartProxy Docker service management
|
||||
│ │ ├── docker.ts # Docker Swarm API
|
||||
│ │ ├── services.ts # Service orchestration
|
||||
│ │ ├── certmanager.ts # SSL certificate management
|
||||
|
||||
Reference in New Issue
Block a user