@girish OK, now I understand Since Directus would install it's own "internal" db tables inside external database, that is simply not possible due to limitations you mentioned above.
Thx for clearing things up on this!
@eddowding Directus has no feature to connect to external databases.
I am confused now I am aware that English is not my first language, but unless there is a difference between external and remote database connection, I am sure that Directus can connect to external/remote database.
Website hosted on server A and Directus hosted on server B, with Directus connected to database from server A.
The above is not possible with Cloudron, but it is a feature of Directus.
@doodlemania2 it's nice to hear that it can be done, thx for the info. Maybe in the future it will be added as an "out-of-the-box" option, after all it is a fundamental part of Directus.
Stackhero(which is a service similar to Cloudron I believe) has it out of the box, I got Directus running on top of external db easily.
It even supports remote database connections(that was my setup with Stackhero), and that is what I wanted to do here. Have Directus running via Cloudron on Digital Ocean and database on another host via remote access.
Thx for the replies and sorry for not being so clear with my question.
Is it possible to install Directus on top of existing database(postgresql), with that database being installed/hosted somewhere else(remote access)?
Directus would be used solely as a nice presentation of data, don't need the headless/API side at the moment. But the existing db can't be migrated, hence the need for remote access to it.
The above is possible with custom installation, I guess that is not the case with cloudron/directus installation?
After some playing with Directus 9 locally, I decided to try it out in live environment. Since I am not that comfortable with manually configuring stuff, I looked into options that would be the easiest for me to get Directus up and running.
So I went with DigitalOcean/Cloudron combo route. I managed to connect Cloudron with my domain and install Directus.
That part is fine, but I am missing the option to choose existing DB during install. Is that possible when installing Directus via Cloudron?
Maybe I am missing something obvious, as I said server/etc configurations are not my forte, I am basically a designer so forgive me if I didn't get everything right about the whole setup