/directus

Primary LanguageJavaScript

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.