Skip to main content

This helpcenter is releasing soon in the next release!

Search

Deploy on Railway

One-click deploy with managed PostgreSQL and Redis.

Railway provisions a Libredesk service along with managed PostgreSQL and Redis from a single template. The database schema installs automatically on the first deploy.

Deploy

1. Open the Libredesk template on Railway and sign in. Set LIBREDESK_SYSTEM_USER_PASSWORD in the deploy form. It must be at least 10 characters with an uppercase letter, a lowercase letter, a number and a special character, for example 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 on first boot.

3. Visit the assigned domain and sign in with the email System and the password you set in step 1.

Configuration

To override any setting, add an environment variable under the Libredesk service's Variables tab. All variables use the LIBREDESK_ prefix with two underscores for nested keys.

  • Max attachment or request body size in bytes: LIBREDESK_APP__SERVER__MAX_BODY_SIZE
  • Session lifetime: LIBREDESK_APP__SERVER__SESSION_LIFETIME
  • Log level (debug, info, warn, error): LIBREDESK_APP__LOG_LEVEL

Do not change the auto-injected database and Redis variables. Railway manages those references.

Updating

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

Was this article helpful?