Initial commit: Onebox v1.0.0
- Complete Deno-based architecture following nupst/spark patterns - SQLite database with full schema - Docker container management - Service orchestration (Docker + Nginx + DNS + SSL) - Registry authentication - Nginx reverse proxy configuration - Cloudflare DNS integration - Let's Encrypt SSL automation - Background daemon with metrics collection - HTTP API server - Comprehensive CLI - Cross-platform compilation setup - NPM distribution wrapper - Shell installer script Core features: - Deploy containers with single command - Automatic domain configuration - Automatic SSL certificates - Multi-registry support - Metrics and logging - Systemd integration Ready for Angular UI implementation and testing.
This commit is contained in:
21
mod.ts
Normal file
21
mod.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env -S deno run --allow-all
|
||||
|
||||
/**
|
||||
* Onebox - Self-hosted container platform
|
||||
*
|
||||
* Entry point for the Onebox CLI and daemon.
|
||||
*/
|
||||
|
||||
import { runCli } from './ts/index.ts';
|
||||
|
||||
if (import.meta.main) {
|
||||
try {
|
||||
await runCli();
|
||||
} catch (error) {
|
||||
console.error(`Error: ${error.message}`);
|
||||
if (Deno.args.includes('--debug')) {
|
||||
console.error(error.stack);
|
||||
}
|
||||
Deno.exit(1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user