Railway
Deploy Shopnex on Railway with Postgres and a persistent volume.
Template pending
The one-click Railway template is not published yet. Until it is, follow the manual steps below; they produce the same setup.
Railway runs the prebuilt image, so nothing is built on your account.
Set it up
-
Create a project and add a Postgres database.
-
Add a service from the Docker image
ghcr.io/shopnex-ai/shopnex:latest. -
Under the service's Variables, set:
Variable Value DATABASE_URL${{Postgres.DATABASE_URL}}APP_URLhttps://${{RAILWAY_PUBLIC_DOMAIN}}TENANCY_MODEsingleBETTER_AUTH_SECRET${{secret(64)}} -
Add a volume to the service mounted at
/data. -
Under Settings → Networking, generate a public domain. Set the service port to
3000if Railway doesn't detect it. -
Deploy.
On start the image runs the database migrations, so updates are a redeploy. See Configuration for the other variables.
Open the deployed URL and complete /admin/setup immediately: a fresh install can be claimed by whoever gets there first.