Qoddi can create and provision datastores automatically when you launch your app. The databases currently supported are :
MongoDB
PostgreSQL
MySQL
Redis
Apache Kafka (coming soon)
Note: Datastores can also be created manually from the Marketplace as standalone apps. In that case you will have to add manually all the environment variables required for your app to access the database. See this article for more information
When a datastore is added to a stack, Qoddi automatically populates credentials to your app using datastore-specific environment variables :
Datastore | Environment variables used to populate credentials |
MongoDB | DATABASE_HOST DATABASE_PORT MONGO_URL |
PostgreSQL | DATABASE_URL |
MySQL / MariaDB | DATABASE_HOST DATABASE_PORT |
Redis | REDIS_URL |
Apache Kafka | Coming soon |
All datastores are not reachable from outside the Qoddi cluster and are running on an encrypted local network. Therefore, it’s not possible to reach a Qoddi datastore from another cloud, another cluster, or your local computer. You can install a database management tool by visiting the app setting of your datastore.
Redis runs with the protected mode deactivated as it’s running locally on the cluster only. No password is required to access the Redis database from inside your stack.
Make sure your app uses those environment variables inside your code, never store datastore credentials directly into your code as Qoddi can rotate those credentials automatically and will update the environment variables of any attached database automatically.
Was this helpful?
3 / 0