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

# Self-host Roundcube Webmail with Docker

> A browser-based IMAP email client with a clean interface, address books, and plugin support.

A browser-based IMAP email client with a clean interface, address books, and plugin support.

This page describes the Levelrail template for Roundcube Webmail (Communication). It deploys the services below as one Docker Compose app on your own server. Project site: [https://roundcube.net/about](https://roundcube.net/about).

Recommended memory: about 256 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `roundcube` | `roundcube/roundcubemail:1.7.4-apache` | 80 | `roundcube_db -&#62; /var/roundcube/db` |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `roundcube` | `ROUNDCUBEMAIL_DB_TYPE` | Preset in the template |
| `roundcube` | `ROUNDCUBEMAIL_DEFAULT_HOST` | Preset in the template |
| `roundcube` | `ROUNDCUBEMAIL_SMTP_SERVER` | Preset in the template |

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

## Deploy Roundcube Webmail with Levelrail

In the dashboard, open **Apps**, choose **New app**, then **Browse templates**, and select Roundcube Webmail. Review the Compose body and deploy.

With the CLI:

```bash theme={"dark"}
levelrail-cli templates deploy roundcube --name my-roundcube
```

See the [service template catalog](/templates-and-registry) for how templates work, and [Getting started](/getting-started) if you have not installed Levelrail yet.

## More Communication templates

* [Apache Answer](/self-host/answer)
* [Apprise API](/self-host/apprise-api)
* [Campfire](/self-host/campfire)
* [Chatwoot](/self-host/chatwoot)
* [FreeScout](/self-host/freescout)

All templates are listed in the [self-host gallery](/self-host).


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