# Self-host Remark42

> A privacy friendly comment engine for blogs and static sites, with social login and anonymous comments. Comments are stored in a file database on a volume.

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

## Requirements
- Memory: about 128 MiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: v1.18.0

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| remark42 | umputun/remark42 | v1.18.0 | 8080 | data -> /srv/var |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| remark42 | AUTH_ANON | preset |
| remark42 | BACKUP_PATH | preset |
| remark42 | REMARK_URL | preset |
| remark42 | SECRET | generated |
| remark42 | SITE | preset |
| remark42 | STORE_BOLT_PATH | preset |

## Deploy

### CLI

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

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/remark42/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 Remark42 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 Remark42, 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 umputun/remark42:v1.18.0 is what you deploy there.

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