# Self-host SilverBullet

> A programmable, Markdown-based notes app you can extend with your own scripts and queries.

- Page: https://levelrail.com/templates/silverbullet/
- JSON: https://levelrail.com/templates/silverbullet.json
- Category: Productivity
- Licence: MIT (Permissive license)
- Source: https://github.com/silverbulletmd/silverbullet
- Upstream docs: https://silverbullet.md

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

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| silverbullet | ghcr.io/silverbulletmd/silverbullet | 2.11.1 | 3000 | silverbullet_space -> /space |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| silverbullet | SB_USER | generated |

## Deploy

### CLI

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

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/silverbullet/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 SilverBullet on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id silverbullet for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/silverbulletmd/silverbullet:2.11.1 is what you deploy there.

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