Railway deployment docs?

Anyone have docs or a tutorial on how to deploy to Railway? My service starts but after a few mins it crashes and I’m not sure why. So far the deployment logs don’t seem to have any clues.

This topic has been created from a Discord post (1255206508791336970) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

As far as I can tell this is the cause
at async Strapi.start (/app/node_modules/.pnpm/@strapi+strapi@4.25.1_@babel+runtime@7.24.7_@codemirror+autocomplete@6.16.3_@codemirror+langu_z432k42xmygtwqmekfyoit2sfq/node_modules/@strapi/strapi/dist/Strapi.js:216:9)

at async Object.loadPlugins (/app/node_modules/.pnpm/@strapi+strapi@4.25.1_@babel+runtime@7.24.7_@codemirror+autocomplete@6.16.3_@codemirror+langu_z432k42xmygtwqmekfyoit2sfq/node_modules/@strapi/strapi/dist/core/loaders/plugins/index.js:98:3)

[2024-06-25 16:59:08.522] debug: :no_entry: Server wasn’t able to start properly.

Now I’m seeing this error.

[2024-06-25 19:09:22.773] error: Middleware "strapi::session": App keys are required. Please set app.keys in config/server.js (ex: keys: ['myKeyA', 'myKeyB'])

Error: Middleware "strapi::session": App keys are required. Please set app.keys in config/server.js (ex: keys: ['myKeyA', 'myKeyB'])

Not really sure what keys it’s looking for though or why I didn’t need them on my localhost.

Just found this. Deploy Strapi on Railway | Railway. Wish I’d known there was a template before I got started. But now I kinda still want my plugins etc… and I’d like to get it working with SQLite if possible (long term the plan it to host the database on Turso)

<@505185753211338753> From my side I was following this site to deploy Strapi in Railway, and it worked for me, I hope It could be useful for you too How to create and deploy a Strapi project on Railway - DEV Community