> ## 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 Cryptgeon with Docker

> A self-destructing note and file sharing service inspired by PrivNote, with end-to-end encryption.

A self-destructing note and file sharing service inspired by PrivNote, with end-to-end encryption.

This page describes the Levelrail template for Cryptgeon (Security). It deploys the services below as one Docker Compose app on your own server. Project site: [https://github.com/cupcakearmy/cryptgeon](https://github.com/cupcakearmy/cryptgeon).

Recommended memory: about 256 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `cryptgeon` | `cupcakearmy/cryptgeon:2.9.3` | 8000 | none |
| `redis` | `redis:7-alpine` | none | none |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `cryptgeon` | `MAX_EXPIRATION` | Preset in the template |
| `cryptgeon` | `MAX_VIEWS` | Preset in the template |
| `cryptgeon` | `SIZE_LIMIT` | 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 Cryptgeon with Levelrail

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

With the CLI:

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

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 Security templates

* [2FAuth](/self-host/2fauth)
* [authentik](/self-host/authentik)
* [Cap](/self-host/cap-captcha)
* [Infisical](/self-host/infisical)
* [Keycloak](/self-host/keycloak)

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.