Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freekrai/directus-railway
Starter to deploy Directus on railway
https://github.com/freekrai/directus-railway
directus postgresql railway
Last synced: 27 days ago
JSON representation
Starter to deploy Directus on railway
- Host: GitHub
- URL: https://github.com/freekrai/directus-railway
- Owner: freekrai
- Created: 2022-08-20T00:43:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T03:42:15.000Z (8 months ago)
- Last Synced: 2024-05-05T04:27:10.712Z (8 months ago)
- Topics: directus, postgresql, railway
- Language: JavaScript
- Homepage:
- Size: 1.31 MB
- Stars: 14
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
---
title: Directus
description: Directus 9. An Instant App & API for your SQL Database.
buttonSource: https://railway.app/new/template/_dszdt?referralCode=codedgeekery
tags:
- directus
- cms
- javascript
- typescript
- postgresql
- s3
---# Directus On Railway
This example deploys a self-hosted version of [Directus](https://directus.io).
Internally it uses a PostgreSQL database to store the data and S3 to store files.
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/_dszdt?referralCode=codedgeekery)
## ✨ Features
- Directus
- Postgres
- S3
- Slugs (via inclusion of [https://github.com/dimitrov-adrian/directus-extension-wpslug-interface](https://github.com/dimitrov-adrian/directus-extension-wpslug-interface))## 💁♀️ 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](https://github.com/azrikahar/directus-railway-starter) with S3 and Slugs support built in off the bat.