---
title: "Deploy LeafWiki"
description: "A lightweight, modern, tree-based wiki"
category: "Blogs"
url: https://railway.com/deploy/leafwiki
---

# Deploy LeafWiki

A lightweight, modern, tree-based wiki

**[Deploy LeafWiki on Railway](https://railway.com/template/leafwiki)**

- **Creator:** Karim Zarzour's Projects
- **Category:** Blogs
- **Total deploys:** 4

## Template content

### LeafWiki https://raw.githubusercontent.com/perber/leafwiki/1fc6a2678797e6c287205a09aaea3fc4be6094d1/ui/leafwiki-ui/public/favicon.svg

- **Image:** ghcr.io/perber/leafwiki:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host LeafWiki on Railway

**LeafWiki** is a minimal, self-hosted wiki written in Go. It focuses on simplicity, fast performance, and Markdown-based content, making it well-suited for personal knowledge bases, internal documentation, and small team wikis without complex infrastructure.

## About Hosting LeafWiki

LeafWiki runs as a single container with no external services required. All wiki content is stored on disk and persisted using a single mounted volume. Configuration is intentionally minimal and handled via environment variables. On Railway, deployment consists of attaching one persistent volume to the service and setting a JWT secret for authentication. Once deployed, LeafWiki is immediately usable through its web interface.

## Common Use Cases

- Personal knowledge management
- Internal team documentation
- Lightweight private wiki

## Dependencies for LeafWiki Hosting

- One persistent volume mounted to `/app/data`
- Required environment variable:
  - `LEAFWIKI_JWT_SECRET`

### Deployment Dependencies

- LeafWiki container image: https://ghcr.io/perber/leafwiki
- LeafWiki source repository: https://github.com/perber/leafwiki

## Why Deploy LeafWiki 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 LeafWiki 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

- [Pixelfed](https://railway.com/deploy/OZSdEw) — Explore + Share beautiful photos and videos on the Fediverse
- [Hexo](https://railway.com/deploy/hexo) — Hexo — fast static blog framework with admin editor and S3 media storage
- [Bluesky PDS (Atproto Spaces Alpha)](https://railway.com/deploy/bluesky-pds-atproto-spaces-alpha) — "The Atproto Spaces Alpha" version of Bluesky PDS.

Open this page in a browser: https://railway.com/deploy/leafwiki
