Self-host Remark42 with Levelrail
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.
- Authorumputun
- LicenceMIT
- Memory128 MiB
- Services1
How to self-host Remark42
-
Pull the images
One image is pulled on your server.
Show images
umputun/remark42:v1.18.0
-
Create the app
One service starts in a single Compose app, with 1 named volume mount for your data, on port 8080.
-
Fill in the secrets
1 secret is generated and stored encrypted, 5 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Remark42 requirements
- Memory
- About 128 MiB
- Architectures
- amd64 unknown, arm64 unknown
- Ports
- 8080
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MIT, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Remark42. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Remark42 docs page.
Deploy Remark42 your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Remark42 from the CLI
levelrail-cli templates deploy remark42 --name my-remark42 Deploy Remark42 with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/remark42/deploy Remark42 configuration
Remark42 services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| remark42 | umputun/remark42:v1.18.0 | 8080 | data -> /srv/var |
Remark42 environment variables
| Variable | Service | Value |
|---|---|---|
| AUTH_ANON | remark42 | Preset by the template |
| BACKUP_PATH | remark42 | Preset by the template |
| REMARK_URL | remark42 | Preset by the template |
| SECRET | remark42 | Generated at deploy |
| SITE | remark42 | Preset by the template |
| STORE_BOLT_PATH | remark42 | Preset by the template |
Ports and volumes
- Ports
- 8080
- Volumes
- 1 named mount: data -> /srv/var
Remark42 FAQ
How much memory does Remark42 need?
The catalog lists about 128 MiB of memory for Remark42.
Does Remark42 run on arm64?
For Remark42, arm64 support is not confirmed; amd64 is unknown.
What licence is Remark42 under?
Remark42 is licensed under MIT, which is permissive, with few conditions on reuse.
Does Remark42 need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which ports does Remark42 use?
Remark42 listens on port 8080 inside the stack.
Where does Remark42 keep its data?
In a named volume: data mounted at /srv/var.
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.