mrphu3074 / directus-railway

Starter to deploy Directus on railway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title description buttonSource tags
Directus
Directus 9. An Instant App & API for your SQL Database.
directus
cms
javascript
typescript
postgresql
s3

Directus On Railway

This example deploys a self-hosted version of Directus.

Internally it uses a PostgreSQL database to store the data and S3 to store files.

Deploy on Railway

✨ Features

πŸ’β€β™€οΈ How to use

  • Click the Railway button πŸ‘†
  • Add the environment variables
    • If you do not add the S3 related environment variables, your images/files will not be persisted between deploys.

πŸ“ Notes

  • After your app is deployed, visit the /admin endpoint to login using the initial admin user you entered during config.
  • Railway's filesystem is ephemeral which is why any changes to the filesystem are not persisted between deploys. This is why, this example uses S3 for storage.

Credit

Originally forked from https://github.com/azrikahar/directus-railway-starter with S3 and Slugs support built in off the bat.

About

Starter to deploy Directus on railway


Languages

Language:JavaScript 96.0%Language:Procfile 4.0%