docker-caddy-elysia-deploy

Deploy Elysia.js and React apps with automated HTTPS via Caddy on Docker.

2|Updated May 10, 2026
One-click install
npx skills add https://github.com/freedomw1987/tree_monstor --skill docker-caddy-elysia-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-caddy-elysia-deploy
Source: https://github.com/freedomw1987/tree_monstor/tree/main/skills/devops/docker-caddy-elysia-deploy
Command: npx skills add https://github.com/freedomw1987/tree_monstor --skill docker-caddy-elysia-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the tedious and error-prone process of manually configuring reverse proxies, SSL certificates, and container orchestration for Bun-based Elysia.js backend services and React single-page applications, removing the need for legacy nginx + certbot deployments that require manual certificate renewal and complex routing setup.

Core Features & Use Cases

  • Automated HTTPS & Reverse Proxy: Uses Caddy to automatically provision and renew SSL certificates for Elysia.js backends and React SPAs, with pre-configured routing rules for API and static file serving.
  • Production-Ready Docker Templates: Provides tested docker-compose configurations for persistent SQLite storage, secure environment variable management, and multi-service Docker networking.
  • Comprehensive Troubleshooting Playbook: Includes fixes for common deployment errors, including Caddyfile syntax issues, Linux EC2 Docker networking edge cases, Elysia route prefix mismatches, and SQLite data persistence problems. Use case: A full-stack developer deploying a Bun-based chatbot backend and React frontend can use this Skill to avoid common Caddy routing pitfalls, get auto-HTTPS working in minutes, and ensure database data persists across container restarts.

Quick Start

Use the docker-caddy-elysia-deploy skill to set up a production-ready Docker deployment for your Elysia.js backend and React SPA with automatic HTTPS via Caddy, following the provided troubleshooting guide to resolve common routing and networking issues.

Frequently Asked Questions about docker-caddy-elysia-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an Elysia.js backend and React SPA with Docker and automatic HTTPS?

Deploy an Elysia.js backend and React SPA with Docker by using Caddy as an automated HTTPS reverse proxy. This Skill provides tested docker-compose templates to automatically provision SSL certificates and route traffic to your Bun services without manual nginx configuration.

What is the best way to replace nginx and certbot for Bun-based full-stack applications?

The best way to replace nginx and certbot for Bun applications is using Caddy for automated HTTPS and reverse proxying. It automatically handles SSL certificate provisioning and renewal, eliminating manual certificate management overhead for Elysia.js deployments.

Can I use Caddy with Docker Compose for persistent SQLite storage on AWS EC2?

Yes, Caddy works with Docker Compose for persistent SQLite storage on AWS EC2. This Skill provides tested configurations for persistent SQLite volumes, secure environment variable management, and troubleshooting guidance for Linux Docker networking edge cases.

How do I fix Elysia route prefix mismatches and Caddyfile syntax errors in Docker deployments?

Fix Elysia route prefix mismatches and Caddyfile syntax errors by following the included troubleshooting playbook. This Skill provides specific guardrails for Caddyfile syntax and resolves common Elysia routing pitfalls encountered during multi-subdomain Caddy routing configurations.

Does this deployment approach support multi-subdomain Caddy routing configurations?

Yes, this deployment approach supports multi-subdomain Caddy routing configurations. It provides pre-configured routing rules for API endpoints and static file serving, allowing you to map multiple subdomains to your containerized Elysia.js backend and React frontend.