---
title: "Deploy Remark42"
description: "Remark42 1.17: privacy-focused comment engine for blogs and sites."
category: "Other"
url: https://railway.com/deploy/remark42-1
---

# Deploy Remark42

Remark42 1.17: privacy-focused comment engine for blogs and sites.

**[Deploy Remark42 on Railway](https://railway.com/template/remark42-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/remark42-1/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### remark42 https://raw.githubusercontent.com/umputun/remark42/v1.17.1/site/static/apple-touch-icon.png

- **Image:** umputun/remark42:v1.17.1
- **Health check:** /ping
- **Public domain:** Yes

## Documentation

# Deploy and Host Remark42 on Railway

Remark42 is a lightweight, privacy-focused comment engine for blogs and websites. You embed a small script, and readers can comment anonymously or sign in with social or email providers. It supports Markdown, voting, replies, moderation, import from Disqus and WordPress, and keeps no tracking data.

## About Hosting Remark42

This template runs the official `umputun/remark42:v1.17.1` image as one service. Comments are stored in BoltDB on a Railway volume at `/srv/var`, with automatic daily backups next to it, so they survive redeploys. Anonymous commenting is on by default so it works without any OAuth app; add GitHub, Google or email login by setting their variables. A generated `ADMIN_PASSWD` protects the admin API, and `SECRET` signs sessions. The Railway proxy ranges are trusted so real client IPs reach rate limits. It is tiny and fits the Hobby plan. Point the embed script at your Railway domain and set `SITE` to match.

## Common Use Cases

- Comments on a static blog (Hugo, Jekyll, Astro, Ghost)
- Replacing Disqus without ads or tracking
- A moderated discussion section on documentation pages

## Dependencies for Remark42 Hosting

- `umputun/remark42:v1.17.1` (official image)
- A Railway volume at `/srv/var`

### Deployment Dependencies

- [Remark42 documentation](https://remark42.com/docs/getting-started/installation/)
- [Remark42 v1.17.1 release](https://github.com/umputun/remark42/releases/tag/v1.17.1)
- [Railway volumes](https://docs.railway.com/reference/volumes)

### Implementation Details

| Service | Source | Networking | Storage |
| --- | --- | --- | --- |
| remark42 | `umputun/remark42:v1.17.1` | public domain on 8080 | volume at `/srv/var` |

Embed it on your site:

```html
<div id="remark42"></div>


```

| Variable | Default | Purpose |
| --- | --- | --- |
| `SITE` | `remark` | Site ID used by the embed script |
| `AUTH_ANON` | `true` | Allow anonymous comments |
| `ADMIN_PASSWD` | generated | Password for the admin API (user `admin`) |
| `SECRET` | generated | Signs sessions and tokens |

Notes:

- Add `AUTH_GITHUB_CID`/`AUTH_GITHUB_CSEC` (or Google, email) to enable sign-in; set `AUTH_ANON=false` to require it.
- API calls that post comments need `?site=`.

This is a community-maintained deployment package and does not imply affiliation with or endorsement by the Remark42 project.

## Why Deploy Remark42 on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Remark42 on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/remark42-1
