> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Templates

> Deploy pre-built application templates with Magic Containers.

Templates provide pre-built applications you can deploy with just a few clicks. Each template includes a ready-to-run container image, and some include a sidecar database.

## Deploy a template

**1. Browse templates**

In the bunny.net dashboard, go to **Magic Containers** and select [**Templates**](https://dash.bunny.net/magic-containers/templates). The following templates are available:

**Frameworks**

| Template | Description |
| - | - |
| [Django with Redis](https://dash.bunny.net/magic-containers/templates/django-with-redis-0) | A minimal Django key-value API backed by Redis |
| [FastAPI KV with Redis](https://dash.bunny.net/magic-containers/templates/fastapi-with-redis-0) | A Python FastAPI backend paired with Redis for high-performance APIs with caching and data storage |
| [Flask](https://dash.bunny.net/magic-containers/templates/flask-0) | A Python Flask template for building lightweight, flexible web applications and REST APIs |
| [Flask with Redis](https://dash.bunny.net/magic-containers/templates/flask-with-redis-0) | A Python Flask backend paired with Redis for simple key-value storage and lightweight APIs |
| [Go API](https://dash.bunny.net/magic-containers/templates/go-api-0) | A minimal Go HTTP API template for building high-performance, compiled backend services |
| [Go API with Redis](https://dash.bunny.net/magic-containers/templates/go-api-with-redis-0) | A Go API backend paired with Redis for fast caching, session management, and data storage |
| [Hono API](https://dash.bunny.net/magic-containers/templates/hono-api-0) | A lightweight Hono API template for building fast, minimal HTTP APIs with modern JavaScript |
| [Hono API with DuckDB](https://dash.bunny.net/magic-containers/templates/hono-api-with-duckdb-0) | A Hono API backend with embedded DuckDB for analytical queries and lightweight data processing |
| [Laravel with MariaDB](https://dash.bunny.net/magic-containers/templates/laravel-with-mariadb-0) | A full-stack PHP Laravel application with a MariaDB database, ready for web apps and APIs |
| [Next.js](https://dash.bunny.net/magic-containers/templates/nextjs-0) | A Next.js template for building modern React applications with server-side rendering and static generation |
| [Next.js with PostgreSQL](https://dash.bunny.net/magic-containers/templates/nextjs-with-psql-0) | A full-stack Next.js application connected to PostgreSQL for data-driven web apps |
| [Rails App](https://dash.bunny.net/magic-containers/templates/rails-0) | A Ruby on Rails template for rapidly building full-featured web applications and APIs |
| [Vite + React (Nginx)](https://dash.bunny.net/magic-containers/templates/vite-react-nginx-0) | A Vite-powered React frontend served through Nginx for fast, production-ready single-page applications |

**Apps**

| Template | Description |
| - | - |
| [Minecraft](https://dash.bunny.net/magic-containers/templates/minecraft-0) | A ready-to-run Minecraft server for quickly hosting and managing your own multiplayer world |
| [n8n](https://dash.bunny.net/magic-containers/templates/n8n-with-psql-0) | n8n workflow automation platform with PostgreSQL |
| [Umami Analytics](https://dash.bunny.net/magic-containers/templates/umami-psql-0) | A self-hosted Umami analytics setup for simple, privacy-focused website visitor insights |
| [WordPress](https://dash.bunny.net/magic-containers/templates/wordpress-0) | A self-hosted WordPress CMS with MariaDB |

**2. Select a template**

Click on a template to view its details and begin deployment.

![](https://mintcdn.com/bunnynet-cb9733c2/kcU5tb-Sz5318NF5/images/magic-containers/templates-gallery.png?fit=max\&auto=format\&n=kcU5tb-Sz5318NF5\&q=85\&s=8c467f0318d750a105d8abefb2bc6fad)

**3. Name your app**

Give your application a name.

**4. Configure environment variables (optional)**

Some templates include configurable environment variables, such as database usernames and passwords. Update these values as needed before deploying.

![](https://mintcdn.com/bunnynet-cb9733c2/kcU5tb-Sz5318NF5/images/magic-containers/templates-configure-environment-variables.png?fit=max\&auto=format\&n=kcU5tb-Sz5318NF5\&q=85\&s=1ea7524ff506d86a7556d44204819753)

**5. Choose a region**

Select the region where you want to deploy your application.

**6. Deploy**

Click **Deploy** to launch your application.

## Eject to GitHub

Templates that include application code and a sidecar database can be ejected to GitHub, giving you full control over the source code.

**1. Open your app**

From the **Magic Containers** apps overview, select the app you deployed from a template.

**2. Eject to GitHub**

Click **Eject to GitHub** and connect your GitHub account if you haven't already.

**3. Configure an image registry**

After ejecting, configure an [image registry](/docs/magic-containers/image-registries) so Magic Containers can fetch your container images from GitHub.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.