---
title: "Deploy The Lounge"
description: "Self-hosted web IRC client that stays connected while you are away"
category: "Other"
url: https://railway.com/deploy/the-lounge
---

# Deploy The Lounge

Self-hosted web IRC client that stays connected while you are away

**[Deploy The Lounge on Railway](https://railway.com/template/the-lounge)**

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

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

## Template content

### The Lounge https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/thelounge.png

- **Source:** https://github.com/aalfath/thelounge-railway-template
- **Health check:** /
- **Public domain:** Yes

## Documentation

# Deploy and Host The Lounge on Railway

The Lounge is an open-source, self-hosted web IRC client (MIT licence). Its server stays connected to your IRC networks while your browser is closed, keeps the scrollback, and lets you pick up the same session from any desktop or phone. It works like a bouncer and a client in one web app.

## About Hosting The Lounge

The Lounge is a single Node.js server. It holds the IRC connections, stores chat history in SQLite, and serves the web interface over HTTP and WebSockets. Hosting it needs one always-on process, a persistent disk for accounts, settings, history and uploads, and HTTPS in front of it. This template runs The Lounge 4.5.2 from the official image, pinned by digest, behind a Railway domain with a volume at `/var/opt/thelounge`. On the first start it creates your account from a generated password before the web server opens, so nobody else can claim the instance. It runs in private mode, with no public sign-up.

## Common Use Cases

* Stay present in project or community IRC channels (Libera.Chat, OFTC) without keeping a computer on
* Read and answer IRC from a phone, with history kept while you were away
* Give a small team browser access to IRC, with one account each and nothing to install

## Dependencies for The Lounge Hosting

* The Lounge service, built from [aalfath/thelounge-railway-template](https://github.com/aalfath/thelounge-railway-template) on the official `thelounge/thelounge:4.5.2` image
* A Railway volume at `/var/opt/thelounge` for accounts, settings, chat history and uploads

### Deployment Dependencies

* [The Lounge documentation](https://thelounge.chat/docs)
* [The Lounge 4.5.2 release](https://github.com/thelounge/thelounge/releases/tag/v4.5.2)
* [Official Docker image](https://hub.docker.com/r/thelounge/thelounge)

### Implementation Details

What you get: one service, **The Lounge**, with a public HTTPS domain, a health check on `/` and a volume. There is nothing to fill in when you deploy.

After deploy:

1. Open the service's Variables tab and copy `THELOUNGE_ADMIN_PASSWORD` (generated for you). The user name is `THELOUNGE_ADMIN_USER` (`admin` by default).
2. Open the public URL and sign in.
3. Connect to a network. The form is pre-filled with Libera.Chat over TLS; Libera.Chat asks hosted clients to sign in with SASL, so add your NickServ account in the form.
4. Change your password under Settings. The two variables are used only while no account exists, so later changes to them don't touch your account.

More users: open the service's shell and run `su node -s /bin/sh -c "thelounge add NAME"`. Other settings (link previews, themes, LDAP, history clean-up) go in `/var/opt/thelounge/config.local.js` on the volume, for example `module.exports = { prefetch: true };`, then redeploy.

Resources: about 50 MB RAM at idle with one user, so it fits Railway's 0.5 GB plan limit.

Updates: the service builds from the template's GitHub repo. When a new version is pinned there, Railway shows you an update notice and you choose when to apply it. Read the repo's `CHANGELOG.md` first. Your volume, accounts and history are kept.

## Why Deploy The Lounge 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 The Lounge 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) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/the-lounge
