FlatRun includes a variety of built-in templates for deploying common applications, frameworks, and services. Each template comes with sensible defaults and can be customized to your needs.
Applications
WordPress
Port: 80The world's most popular content management system. Includes support for shared database configuration.
app— Mount entire WordPress installationuploads— Mount only media uploadsplugins— Mount only plugins directory
Ghost
Port: 2368Professional publishing platform for modern journalists and bloggers.
content— Mount content directory (themes, images, data)
Frameworks
Laravel
Port: 8000PHP web application framework with expressive, elegant syntax.
app— Mount entire Laravel applicationenv— Mount only environment filestorage— Mount only storage directory
Next.js
Port: 3000React framework for production with hybrid static and server rendering.
app— Mount entire Next.js application
Astro
Port: 4321Content-focused static site generator with island architecture.
app— Mount entire Astro project
Runtimes
Node.js
Port: 3000JavaScript runtime for building server-side applications.
app— Mount your Node.js application
PHP
Port: 80PHP runtime with Apache web server.
html— Mount web root directory
Databases
MySQL
Port: 3306Popular open-source relational database management system.
MariaDB
Port: 3306Community-developed fork of MySQL with enhanced features.
PostgreSQL
Port: 5432Advanced open-source relational database with extensive features.
Infrastructure
Nginx
Port: 80, 443High-performance web server, reverse proxy, and load balancer.
Redis
Port: 6379In-memory data store for caching, sessions, and message queuing.
Basic
Static Site
Port: 80Simple Nginx-based hosting for static HTML, CSS, and JavaScript.
html— Mount your static files
Using Templates
Via UI
- Click "New Deployment"
- Select "Easy Mode"
- Browse or search templates
- Select a template
- Configure name, domain, and mount options
- Click "Deploy"
Via API
# List templates
curl -X GET "http://localhost:8090/api/templates" \
-H "Authorization: Bearer $TOKEN"
# Deploy from template
curl -X POST "http://localhost:8090/api/deployments" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "my-blog",
"template_id": "wordpress",
"port": 8080,
"auto_start": true
}'