Coder Social home page Coder Social logo

directus-railway-gey0's Introduction

title description tags
Directus (Docker + extensions + websocket) + PostGIS (Docker & TCP) + S3
A one-click-install Directus instance with PostGIS and S3 for persistent storage.
Directus
Typescript
Vue
Websocket
CMS
Data Platform
PostgreSQL
PostGIS
Railway

Directus railway template

This example runs a Directus instance with minimal config using PostGIS.

Deploy on Railway

โœจ Features

  • Directus config is pre-configured
  • Install Directus using Docker
  • Directus extensions and websocket are pre-configured
  • Directus version can be updated through Dockerfile
  • Directus extensions can be updated and loaded through Dockerfile
  • PostGIS config is pre-configured
  • SSL certificates is pre-configured using the self-signed Snakeoil certificate for PostGIS
  • Railway Database View is pre-configured
  • Install PostGIS instead of Postgre as Directus recommended for supporting GIS features
  • S3 for persistent storage
  • docker-compose.yml is added for local development
  • The communication from Directus to the database is accomplished through the private network, saving its users from egress fees. This reduces the users' exposure to unnecessary egress fees.

๐Ÿ’โ€โ™€๏ธ How to use

  • Click the Deploy on Railway button
  • Let railway deploy your service, most of the configurations have been preset, but feel free to tweak them as you like before deployment.
  • Login in the admin panel using the defined ADMIN_EMAIL and ADMIN_PASSWORD.
  • Use of S3 is a must in this template.
  • For local development, just run docker compose up or run the same command twice (Sometimes, the Directus container starts before other containers are ready, resulting in a failure upon startup).

๐Ÿ’โ€โ™€๏ธ Example screenshots

Directus extensions

Directus extensions!

Directus S3 image upload

Directus S3 image upload!

Directus S3 storage

Directus S3 storage!

Railway Database View for Postgis

Railway Database View for Postgis!

๐Ÿ“ Notes

  • This is a minimal one-click-deploy solution to Directus, see Directus docs to config it to your needs.

Credit

directus-railway-gey0's People

Contributors

railway-bot avatar rizal-razuwan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.