Deploy Remark42
Remark42 is a lightweight, self-hosted comment system designed as an alternative to Disqus. It supports multiple authentication providers, spam protection, and provides a clean, customizable interface. With Hostim.dev, you can deploy Remark42 with Docker and persistent storage in one click.
π¬ Self-host your comments. Privacy-first. Zero tracking.
Guest project runs for 1 hour. Log in to save and extend to 5 days.
Why Host Remark42 on Hostim.dev?β
- π³ One-click Docker deployment β no manual setup required
- πΎ Persistent storage β keeps all comments and data safe
- π Automatic HTTPS + domain β ready to integrate instantly
- π OAuth ready β supports GitHub, Google, Facebook, and more
- π Real-time logs and metrics β monitor performance at a glance
π₯ Watch how easy it is to deploy any open source app on Hostim.dev β this example shows Umami, but the flow is identical for Remark42.
What's includedβ
Resource | Details |
---|---|
App | ghcr.io/umputun/remark42:latest image |
Volume | /srv/var (persistent data storage) |
Domain | Free *.hostim.dev subdomain |
SSL | Let's Encrypt (auto-enabled) |
Port | 8080 |
Config | Pre-configured with anonymous auth |
How to Deployβ
- Go to your Hostim.dev dashboard.
- Click Create Project β Use a Template.
- Select the Remark42 template.
- Choose a resource plan (Dev, Prod, or Full).
- Hit Deploy.
Your project will be ready in seconds. From there, you'll need to configure it for your website.
Post-Deploy Notesβ
1. Add Site ID Environment Variableβ
- Go to your Envs tab
- Add a new variable:
SITE=your-website-name
(e.g.,myblog
)
2. Configure OAuth (Optional but Recommended)β
For GitHub authentication, add these variables:
AUTH_GITHUB_CID
- Your GitHub OAuth App Client IDAUTH_GITHUB_CSEC
- Your GitHub OAuth App Client Secret
3. Frontend Integrationβ
Add this code to your website where you want comments to appear:
<script>
var remark_config = {
host: "https://your-remark42-domain.hostim.dev", // Your Remark42 URL
site_id: "your-website-name", // Same as SITE env var
components: ["embed"],
theme: "light", // or 'dark'
};
</script>
<!-- Comments container -->
<div id="remark42"></div>
<!-- Initialization script -->
<script>
!(function (e, n) {
for (var o = 0; o < e.length; o++) {
var r = n.createElement("script"),
c = ".js",
d = n.head || n.body;
"noModule" in r ? ((r.type = "module"), (c = ".mjs")) : (r.async = !0),
(r.defer = !0),
(r.src = remark_config.host + "/web/" + e[o] + c),
d.appendChild(r);
}
})(remark_config.components || ["embed"], document);
</script>
4. Additional Featuresβ
- π Add a custom domain under Networking β Domains
- π View resource usage and logs under the App panel
- π§ Configure email notifications by adding SMTP environment variables
Source + Docsβ
- GitHub: umputun/remark42
- Documentation: remark42.com
Looking for something else? Browse all templates β