Deploy opendesk
Open-source helpdesk: shared inbox, live chat, help center (pinned, repo)
Just deployed
/var/lib/postgresql/data
Just deployed
Just deployed
Bucket
Bucket
Just deployed
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.18image (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.18gateway (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:
- Open the opendesk service's public URL.
- Sign in with
ADMIN_EMAILand the generatedADMIN_PASSWORDfrom the opendesk service's Variables tab, then create your workspace. The account is also an instance admin. - Sign-up is closed. Invite teammates from Settings → Members (copy the invite link if you haven't set up email).
- To send mail (notifications, invitations, password resets), add
SMTP_HOST,SMTP_PORT,SMTP_USERNAME,SMTP_PASSWORDandMAIL_FROMto the opendesk service. Without them, mail is only logged. Mailboxes you connect over IMAP/SMTP, Google or Microsoft send their own replies. - For AI features, add
ANTHROPIC_API_KEY, orOPENAI_API_KEYwithOPENAI_BASE_URLandAI_MODELfor 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.
Template Content
ADMIN_EMAIL
Email for your owner account. It is created on first boot and is the only way in (public sign-up is off).
Bucket
Bucket
