# Self-host Cryptgeon

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

- Page: https://levelrail.com/templates/cryptgeon/
- JSON: https://levelrail.com/templates/cryptgeon.json
- Category: Security
- Licence: MIT (Permissive license)
- Source: https://github.com/cupcakearmy/cryptgeon
- Upstream docs: https://github.com/cupcakearmy/cryptgeon

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 2.9.3

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| cryptgeon | cupcakearmy/cryptgeon | 2.9.3 | 8000 | none |
| redis | redis | 7-alpine | none | none |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| cryptgeon | MAX_EXPIRATION | preset |
| cryptgeon | MAX_VIEWS | preset |
| cryptgeon | SIZE_LIMIT | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy cryptgeon --name my-cryptgeon
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/cryptgeon/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Cryptgeon on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Cryptgeon, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image cupcakearmy/cryptgeon:2.9.3, redis:7-alpine is what you deploy there.

Self-host Cryptgeon, Cryptgeon docker compose file, deploy Cryptgeon on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
