Skip to main content

Supported engines

EngineDescription
PostgreSQLRecommended relational database for most applications
MySQLMySQL-compatible relational workloads
MongoDBFlexible document-based storage Coming Soon

Example configuration

Define your database service in revolte.yaml to configure engines, versions, storage, and backup policies manually.

Deployment templates

Preconfigured deployment patterns for database-backed services.

Database Connection Injection

Provisioning a database service (e.g., named db under your YML services configuration) automatically injects the corresponding connection credentials into the environment variables of all other services within the same environment. This requires no manual secret configuration. The following environment variables are automatically injected at runtime:
DATABASE_HOST: '#{db.dbUrl}'
DATABASE_PORT: '#{db.dbPort}'
DATABASE_USERNAME: '#{db.dbUsername}'
DATABASE_PASSWORD: '#{db.dbPassword}'
DATABASE_NAME: '#{db.dbName}'
(Note: Replace db with the exact name of your database service as declared under services in your revolte.yaml)