2 years ago
Description: Turn any SQL database into an API. Optional S3 and WebSockets Included!
Category: CMS
24 Replies
2 years ago
Nice work!!
NOTE:
Communication to Postgres is done exclusively over the private network and the database is not exposed externally in any way by default, This is done so that there are no egress fees for the database, if you want to enable access from outside of the private network you can go to the databases settings page to enable TCP proxying and enter the internal port 5432. The TCP proxy can be again removed at any point to close off external access.
2 years ago
Happily recommending this template - I use (a slightly modified version of) it on a production website and it works marvelously!
2 years ago
I am using this template with agentOS, Auth not works probably because of CORS, is it possible have it as variable, or How can I modify it from your template?
2 years ago
Please see the docs for CORS here - https://docs.directus.io/self-hosted/config-options.html#cors
a year ago
Thanks for this!
Any idea how I can change the base.liquid e-mail template in Railway?
File location: https://github.com/directus/directus/blob/main/api/src/services/mail/templates/base.liquid
a year ago
Hi, so I don't think this template supports cloudinary when you try to enabled the feature. I have tried numerous attempts to setup cloudinary and I keep getting build failures.
a year ago
Yes this template does, please follow cloudinary's documentation on how to set that up.
a year ago
Hi brody, maybe it is good to enable CORS on default? Was looking very long for a "Page not found" error that had to to with CORS being disabled.
a year ago
Hi brody, maybe it is good to enable CORS on default? Was looking very long for a "Page not found" error that had to to with CORS being disabled.
Directus defaults it to “false” and I will keep it that way since this is intended to be a barebones template and there’s multiple reasons for this value to be initially “false”, it can be easily changed with an env var if needed 🫡
a year ago
this was awesome and super easy. However, I now need to install some extensions - how can I do that now that it is deployed on railway? I've created my data models, branding, user types, content, custom domain etc
Am I going to have to start from scratch?
Thanks
Jonathan
a year ago
Hi Jonathan, I replied to you in the directus discord server but basically u can install extensions through the official marketplace or by using the filebrowser template with the directus volume and installing your custom extensions in the extensions folder.
6 months ago
Hello, I like the template but I'm wondering I should take the time to also include redis cache?
jayshoe
Hello, I like the template but I'm wondering I should take the time to also include redis cache?
6 months ago
Hi! You can deploy the template then add a redis db and point it using the redis related vars as stated in the Directus docs
https://docs.directus.io/self-hosted/config-options.html#redis
5 months ago
Hi !
I really like your template, but it seems something's wrong with it. Can't manage to deploy it.
Here is the start of the error message I received from deploy :
[08:17:23.496] ERROR: Driver "undefined" isn't registered.
err: {
"type": "Error",
"message": "Driver \"undefined\" isn't registered.",
"stack":
Error: Driver "undefined" isn't registered.
Thanks
digit-factory
Hi !I really like your template, but it seems something's wrong with it. Can't manage to deploy it.Here is the start of the error message I received from deploy :[08:17:23.496] ERROR: Driver "undefined" isn't registered.May 06 10:17:23err: {May 06 10:17:23"type": "Error",May 06 10:17:23"message": "Driver \"undefined\" isn't registered.",May 06 10:17:23"stack":May 06 10:17:23Error: Driver "undefined" isn't registered.Thanks
5 months ago
Hi!
I was able to deploy a fresh instance successfully.
Did u change any env var? Can you try redeploying the entire template?
4 months ago
Hi !
Thanks for your answer, and sorry for the delay in mine.
I just changed the storage value to S3.
6 days ago
I'm struggling to get this deployed. I've got a few instances of this template running at the moment, but I haven't been able to deploy it recently.
It's getting stuck during the database migrations. I've tried different versions of Directus with no luck. I've also tried without Redis as well.
It gets stuck on:
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/b6572759-fd3a-487a-98dd-9aa5920ab82c/vol_xhdbr81h5mui5i60
Starting Container
[12:08:38.646] INFO: Initializing bootstrap...
[12:08:38.654] INFO: Installing Directus system tables...
[12:08:38.960] INFO: Running migrations...
[12:08:38.973] INFO: Applying Remove Collection Foreign Keys...
[12:08:38.989] INFO: Applying Remove System Relations...
[12:08:38.997] INFO: Applying Remove System Collections...
[12:08:39.007] INFO: Applying Remove System Fields...
and times out after ~5 minutes on the health check.
Any suggestions?
zpuckeridge
I'm struggling to get this deployed. I've got a few instances of this template running at the moment, but I haven't been able to deploy it recently.It's getting stuck during the database migrations. I've tried different versions of Directus with no luck. I've also tried without Redis as well.It gets stuck on:Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/b6572759-fd3a-487a-98dd-9aa5920ab82c/vol_xhdbr81h5mui5i60Starting Container[12:08:38.646] INFO: Initializing bootstrap...[12:08:38.654] INFO: Installing Directus system tables...[12:08:38.960] INFO: Running migrations...[12:08:38.973] INFO: Applying Remove Collection Foreign Keys...[12:08:38.989] INFO: Applying Remove System Relations...[12:08:38.997] INFO: Applying Remove System Collections...[12:08:39.007] INFO: Applying Remove System Fields...and times out after ~5 minutes on the health check.Any suggestions?
6 days ago
Hello! I was able to successfully deploy a fresh instance of the template, the error you mentioned is a platform-level issue and unrelated to the template itself (maybe it was a moment of instability?) could you please try deploying the template again? If it happens again, try changing the service region so we can see if it's a region-related issue! Let me know how it goes :)
6 days ago
Hi, thanks for getting back to me so quickly!
What region are you deploying to? I've just tried deploying to a few different regions with no success. I've also tried metal with no luck there either.
Thanks for your time.
6 days ago
I am able to deploy the template in other projects, which is particularly strange...
I'll try creating a brand new project and deploying there.
zpuckeridge
I am able to deploy the template in other projects, which is particularly strange...I'll try creating a brand new project and deploying there.
6 days ago
That's what it is. I can't deploy no matter what I do in new projects. Particularly strange. I guess I'll just have to deploy in an existing project for now.
zpuckeridge
That's what it is. I can't deploy no matter what I do in new projects. Particularly strange. I guess I'll just have to deploy in an existing project for now.
5 days ago
Please open a help thread! I can escalate it to the team to take a look... It is indeed a very weird issue.
Some extra info: I'm deploying to us-east