Skip to main content
Railway provisions a libredesk service alongside managed PostgreSQL and Redis from a single template. The database schema installs automatically on first deploy.

Deploy

Deploy on Railway
1

Click Deploy on Railway

Sign in to Railway, then set LIBREDESK_SYSTEM_USER_PASSWORD in the deploy form. It must be 10 to 72 characters long and contain an uppercase letter, a lowercase letter, a number and a special character (e.g. MyPassword@123).
2

Wait for the build

Railway provisions PostgreSQL, Redis, and the libredesk app, and assigns a *.up.railway.app domain to the libredesk service. The schema installs automatically on first boot.
3

Log in

Visit the assigned domain and sign in with:
  • Email: System
  • Password: the password from step 1

Configuration

To override any libredesk setting, add an environment variable under the libredesk service’s Variables tab. All variables use the LIBREDESK_ prefix with double underscores (__) for nested keys. The per-file upload limit is a separate setting, Max allowed file upload size under Admin → General. See configuration via environment variables for how keys map to variable names. config.sample.toml lists every key.
Don’t change the auto-injected database and Redis variables. Railway manages those references.

Updating libredesk

Redeploy the libredesk service from the Railway dashboard. It pulls the latest image and runs any pending migrations on startup.