Deploy libredesk
Open-source help desk for email, live chat and WhatsApp in one inbox
Just deployed
/var/lib/postgresql/data
Redis
Just deployed
/data
libredesk
Just deployed
/libredesk/uploads
Deploy and Host Libredesk on Railway
Libredesk is an open-source, self-hosted customer support desk. It brings email, live chat and WhatsApp conversations into one shared inbox for your team, with teams, tags, macros, automations, SLA targets, CSAT ratings, a help center and an optional AI assistant. It ships as a single Go binary backed by Postgres and Redis.
About Hosting Libredesk
Hosting Libredesk means running the Libredesk server next to a Postgres database and a Redis instance, keeping uploaded attachments on persistent storage, and serving it over HTTPS. This template deploys the official libredesk/libredesk v2.9.2 image pinned by digest, Railway's Postgres 18 and Redis 8.2, each with its own volume, all connected over Railway's private network. On first start the template installs the database schema, creates the System admin user with a generated password, and sets Libredesk's root URL to your Railway domain. Later starts run any pending schema upgrades. Email, WhatsApp and SSO are optional and are set up in the admin panel.
Common Use Cases
- Run a shared support inbox for email and live chat on your own infrastructure
- Add a live chat widget and a searchable help center to your website
- Route, assign and track support conversations with teams, SLAs, automations and CSAT surveys
Dependencies for Libredesk Hosting
- Postgres (Railway's Postgres 18 image, included)
- Redis (Redis 8.2, included)
Deployment Dependencies
- Libredesk source and docs: https://github.com/abhinavxd/libredesk
- Release used by this template: https://github.com/abhinavxd/libredesk/releases/tag/v2.9.2
- Docker image: https://hub.docker.com/r/libredesk/libredesk
- Libredesk documentation: https://docs.libredesk.io
Implementation Details
First login: open your Railway domain and sign in with the email System and the password in the LIBREDESK_SYSTEM_USER_PASSWORD variable of the libredesk service. Then create your agents and teams under Admin. Libredesk has no public sign-up; only admins can add agents.
What the start command does: it sets fixed settings (production mode, info logging, listen on PORT, uploads in /libredesk/uploads on the volume, database port and SSL mode), runs ./libredesk --install --idempotent-install --yes and ./libredesk --upgrade --yes, then starts the server. While the root URL is still the default http://localhost:9000, it signs in as System once and sets the root URL to https://$RAILWAY_PUBLIC_DOMAIN. If you change the root URL later in Admin > General, the template leaves it alone. You can override any fixed setting by adding the matching LIBREDESK_... variable, for example LIBREDESK_APP__LOG_LEVEL=debug.
Email: to receive and send email, add an email inbox in Admin > Inboxes with your own IMAP and SMTP details. To use a custom domain, add it in Railway and then update the root URL in Admin > General.
Keep these safe: the LIBREDESK_APP__ENCRYPTION_KEY value encrypts stored secrets such as inbox passwords. Don't change it after the first deploy.
Why Deploy Libredesk 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 Libredesk 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.
Template Content
Redis
redis:8.2.11libredesk
libredesk/libredesk:v2.9.2
