https://github.com/jonathanschndr/directus-render-starter
Hosting Directus on render.com
https://github.com/jonathanschndr/directus-render-starter
Last synced: 3 months ago
JSON representation
Hosting Directus on render.com
- Host: GitHub
- URL: https://github.com/jonathanschndr/directus-render-starter
- Owner: JonathanSchndr
- Created: 2022-08-19T14:55:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-19T15:33:46.000Z (almost 3 years ago)
- Last Synced: 2025-02-05T06:23:37.252Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hosting Directus on render.com (free)
## Getting started
1. Use this repo as template to create your own
2. Create render.com account
3. Login render.com and create a Web Service and PostgreSQL DB
1. Web Service Settings:
1. Build Command: npx directus bootstrap
2. Start Command: npx directus start
3. Health Check Path: /server/health
4. Change the db connection in the .env file
5. Push your changes to the repo
6. Done!## Important
If you want your uploads folder not to be deleted after a push, you need to save them as filestorage under render.com Web Service > Settings > Disks. Mount Path: /opt/render/project/src/uploads - this option is only available if you upgrade your web service.