RaseefDocs
Templates

MariaDB

Relational SQL database, ready to run as a private service.

SettingValue
Imagelibrary/mariadb:11.4
Port3306 (TCP, private)
StorageVolume at /var/lib/mysql
Minimum size0.5 vCPU · 512 MiB

Create it

In your project, choose Create, then MariaDB from the templates. Raseef creates the service with the settings below, generates its secrets and deploys it. Its data lives on its own volume.

Connect from your app

MariaDB is a private service: it has no public address. Other services in the same environment reach it on its private address and port, which Raseef offers as variables you can reference.

Add a variable to your app that references the DATABASE_URL of this service. If you named the service mariadb:

Variables of your app
DATABASE_URL=${{ mariadb.DATABASE_URL }}

At deploy time the reference becomes a full connection string:

mysql://raseef:<MARIADB_PASSWORD>@<private address>:3306/raseef

See Variables for how references work.

Variables

Generated once, when the service is created, and stored encrypted:

VariableValue
MARIADB_ROOT_PASSWORDA random password, 64 hex characters
MARIADB_PASSWORDA random password, 64 hex characters

Set by the template:

VariableValue
MARIADB_DATABASEraseef
MARIADB_USERraseef

Every variable of a template service is managed by Raseef and cannot be edited. The workspace owner can reveal the secrets from the service panel; each reveal is recorded in the audit log.

Data and backups

The data directory /var/lib/mysql is a persistent volume: it survives restarts and deploys. A service with a volume runs a single replica, and a deploy stops the old replica before starting the new one, so expect a short interruption. See Volumes for sizes and backups.

Version

The service runs library/mariadb:11.4, pinned by digest when the service is created and kept on that exact image afterwards. Template catalog version 2026-10-19.1.

Upstream documentation: library/mariadb.

On this page