---
title: "Deploy opendesk"
description: "Open-source helpdesk: shared inbox, live chat, help center (pinned, repo)"
category: "Other"
url: https://railway.com/deploy/opendesk
---

# Deploy opendesk

Open-source helpdesk: shared inbox, live chat, help center (pinned, repo)

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

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

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

## Template content

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

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### realtime https://raw.githubusercontent.com/useopendesk/opendesk/v0.4.18/brand/icons/icon-512.png

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

### opendesk https://raw.githubusercontent.com/useopendesk/opendesk/v0.4.18/brand/icons/icon-512.png

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

## Buckets

- **Bucket**

## Documentation

# Deploy and Host opendesk on Railway

opendesk is an open-source helpdesk (Apache-2.0). It gives a support team one shared inbox for email and live chat, with assignments, statuses, internal notes, SLA targets, automations, a public help center and an embeddable chat widget. Optional AI features draft replies and triage tickets when you add your own API key.

## About Hosting opendesk

opendesk runs as two processes: a Go server (API, background jobs, web app, admin panel and an embedded NATS bus) and a Phoenix gateway that pushes live updates to agents and the chat widget over WebSockets. Both need public HTTPS addresses, shared secrets and a private link between them. All data lives in PostgreSQL; attachments and raw email go to S3-compatible storage. This template wires that up for you on Railway: generated secrets, private networking, health checks, a Postgres volume and a Railway Bucket. On first boot it creates your owner account and closes public sign-up, so nobody else can claim the instance.

## Common Use Cases

* A shared support inbox for a small team, with assignments, statuses, internal notes and SLA tracking
* Live chat on your website through opendesk's embeddable chat widget
* A public help center with articles, plus AI reply drafts and triage once you add an Anthropic or OpenAI-compatible key

## Dependencies for opendesk Hosting

* PostgreSQL (Railway Postgres, which includes pgvector for semantic search)
* S3-compatible object storage (a Railway Bucket) for attachments and raw email

### Deployment Dependencies

* opendesk source and releases: https://github.com/useopendesk/opendesk (this template pins v0.4.18)
* Self-hosting docs: https://docs.opendesk.sh/self-hosting/
* Template repo (what Railway builds): https://github.com/aalfath/opendesk-railway-template

### Implementation Details

The template deploys four parts:

* **opendesk**: the official `ghcr.io/useopendesk/opendesk:v0.4.18` image (pinned by digest) with a small start script. It serves the web app, API and admin panel (`/admin/`) on its public domain, checks `/readyz`, runs database migrations on start, and runs NATS on the private network for the gateway.
* **realtime**: the official `ghcr.io/useopendesk/realtime:v0.4.18` gateway (pinned by digest) on its own public domain, for live updates and the chat widget.
* **Postgres**: all tickets, users and jobs, on a volume.
* **Bucket**: attachments and raw email, private, served through signed links.

After deploy:

1. Open the opendesk service's public URL.
2. Sign in with `ADMIN_EMAIL` and the generated `ADMIN_PASSWORD` from the opendesk service's Variables tab, then create your workspace. The account is also an instance admin.
3. Sign-up is closed. Invite teammates from Settings → Members (copy the invite link if you haven't set up email).
4. To send mail (notifications, invitations, password resets), add `SMTP_HOST`, `SMTP_PORT`, `SMTP_USERNAME`, `SMTP_PASSWORD` and `MAIL_FROM` to the opendesk service. Without them, mail is only logged. Mailboxes you connect over IMAP/SMTP, Google or Microsoft send their own replies.
5. For AI features, add `ANTHROPIC_API_KEY`, or `OPENAI_API_KEY` with `OPENAI_BASE_URL` and `AI_MODEL` for any OpenAI-compatible API.

Inbound SMTP (port 25) and local Ollama models from upstream's compose file are not included: Railway has no public port 25 and no GPU. Connect mailboxes over IMAP, Google or Microsoft, or forward mail. Each service fits Railway's 0.5 GB limit (tested at 0.5 GB / 1 vCPU).

Updates: Railway notifies you when the template repo moves to a new opendesk release. The changelog lists breaking changes first. Migrations run automatically on start; back up Postgres before applying an update.

## Why Deploy opendesk 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 opendesk 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)
- [Wiki-Go](https://railway.com/deploy/wiki-go) — Flat-file Markdown wiki in Go: no database, generated admin login

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