Skip to content

Template to deploy Directus on Heroku

License

Notifications You must be signed in to change notification settings

directus-labs/heroku-template

Repository files navigation

Community-maintained. This project is not maintained by the Directus Core Team, but by our wider community. Interested in taking it on? Get in touch!

Directus for Heroku

Deploy

This template demonstrates building Directus for Heroku. It contains addons to let you run Directus with PostgreSQL and Redis.

Features

File uploads

Make sure to configure the storage settings for your project, otherwise you won't be able to upload files to your instance. This template has some placeholder settings to guide on how to configure storage using DigitalOcean spaces, but you can use any (non local) compatible storage service in Heroku. For more information on how to configure Directus storage, check our supported environment variables.

Post-install

Email settings

This template uses Mailgun starter addon to setup emails for you project. It's highly recommended that you configure the email to your preferred settings after provisioning your project.

Admin user

Your initial admin email and password is created based on ADMIN_EMAIL and ADMIN_PASSWORD you set on project creation. If you don't have those set, random ones are going to be provisioned for you, and you must check the deployment logs via heroku releases to get them.

After you log in for the first time, be sure to update your email and password immediately and remove those variables from your environment.

Database

This template uses PostgreSQL, but Directus supports a number of other options that can be easily substituted using other Heroku addons.

References

About

Template to deploy Directus on Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published