---
title: "Deploy LibreDesk 2.9 (Helpdesk, Live Chat, Postgres, Redis)"
description: "Open-source omnichannel helpdesk: shared inbox, live chat, SLAs and CSAT."
category: "Other"
url: https://railway.com/deploy/libredesk-29-helpdesk-live-chat-postgres
---

# Deploy LibreDesk 2.9 (Helpdesk, Live Chat, Postgres, Redis)

Open-source omnichannel helpdesk: shared inbox, live chat, SLAs and CSAT.

**[Deploy LibreDesk 2.9 (Helpdesk, Live Chat, Postgres, Redis) on Railway](https://railway.com/template/libredesk-29-helpdesk-live-chat-postgres)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/libredesk-29-helpdesk-live-chat-postgres/manifest.json

- **Creator:** Tracklayer
- **Category:** Other
- **Total deploys:** 1

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18.6@sha256:4fc833b43d2aaf6ecc9b18615f5533602b723a32d0e2efe2dae8ca0f7217c863

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.11@sha256:b0b01167ff47bc3868e56a967895a26be4230891a1f42a78ab61cdd227accc8d
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### LibreDesk https://cdn.jsdelivr.net/gh/abhinavxd/libredesk@v2.9.2/static/public/launcher-logo-black.png

- **Source:** baranberkay96/libredesk-railway
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host LibreDesk with Railway

LibreDesk is an open-source, self-hosted customer support desk: a shared inbox for email and live chat, with teams, automation rules, SLAs, canned responses, CSAT surveys, a help center and reports. This template runs LibreDesk on Railway with Postgres, Redis and persistent attachment storage, and sets the admin password before the app goes online.

## About Hosting LibreDesk

LibreDesk is a single Go binary with a Vue front end. It needs Postgres for conversations and settings, Redis for sessions, cache and queues, and storage for attachments. Installation creates a built-in "System" administrator; upstream's container either asks for its password interactively or gives it a random one that you then have to reset from a shell. This community template pins the official v2.9.2 image, installs the schema and the System admin with a generated, policy-compliant password before the port opens, runs schema upgrades on every start, replaces the default `localhost` root URL with your Railway domain, and keeps attachments on a Railway volume.

## Common Use Cases

- A shared support inbox for a team, fed by email (IMAP) and website live chat
- Routing conversations to teams with automation rules and auto-assignment
- SLA tracking, CSAT surveys and reports for support quality
- A public help center and canned responses (macros) for faster replies
- A self-hosted alternative to Zendesk, Freshdesk or Intercom inboxes

## Dependencies for LibreDesk Hosting

- LibreDesk service (official image) with a volume for attachments
- Postgres
- Redis

### Deployment Dependencies

- [LibreDesk website and docs](https://libredesk.io/)
- [LibreDesk on GitHub](https://github.com/abhinavxd/libredesk)
- [Releases](https://github.com/abhinavxd/libredesk/releases)

### Implementation Details

| Service | What runs inside | Volume | Port |
|---|---|---|---|
| LibreDesk | LibreDesk v2.9.2 (install/upgrade at start) | `/libredesk/uploads` (attachments) | 9000, public domain |
| Postgres | PostgreSQL 18 | `/var/lib/postgresql/data` | private |
| Redis | Redis 8.2 | `/data` | private |

**First login**

1. Open `https://{your-domain}`.
2. Sign in with the email `System` and the password from `LIBREDESK_SYSTEM_USER_PASSWORD` (Variables tab of the LibreDesk service).
3. Create agent accounts for yourself and your team under Admin, Agents, and use those for daily work; keep System for administration.
4. Add inboxes (email, live chat) under Admin, Inboxes. The root URL is already set to your Railway domain (Admin, General); change it there if you add a custom domain.

**System password.** When `LIBREDESK_SYSTEM_USER_PASSWORD` changes, the next start applies it and signs the System user out everywhere. It must follow LibreDesk's rule (10–72 characters with upper and lower case, a digit and a special character). A value that does not is ignored with a warning in the deploy log: an existing password stays, and a brand-new install gets a random System password until you set a valid one.

**Encryption key.** `LIBREDESK_APP__ENCRYPTION_KEY` (exactly 32 characters, generated) encrypts stored inbox and integration credentials. Never change it after the first start.

**Email.** Email inboxes fetch over IMAP and send over SMTP using the mail server you configure per inbox. Railway allows outbound SMTP only on the Pro plan; on other plans use live chat, or a mail provider that offers SMTP on a port your plan allows. Agent notifications use the notification SMTP settings under Admin.

**Live chat.** Create a live chat inbox and paste its widget snippet into your website; the widget talks to `https://{your-domain}`.

**Scaling and upgrades.** Keep one LibreDesk replica (attachments live on the volume). The stack idled at about 0.2 GB RAM in our tests and fits the Trial plan per service. All configuration keys can be set as `LIBREDESK_SECTION__KEY` variables (see `config.sample.toml` upstream). To upgrade, eject the repo, change the image tag and digest in `services/libredesk/Dockerfile`, and redeploy; `libredesk --upgrade` runs before the server starts. Back up Postgres first.

### Why Deploy LibreDesk on Railway?

Railway runs LibreDesk with managed Postgres and Redis, HTTPS and a persistent volume in one project, so a support desk is online in minutes. This template adds pinned versions, a database-backed healthcheck, an admin password set before the first request and the correct public URL out of the box.


## 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/libredesk-29-helpdesk-live-chat-postgres
