doze doze/registry
M

MariaDB

official ● signed
doze/mariadb
runs MariaDB 11 · macOS & Linux

A socket-only MariaDB backend behind the doze proxy, with declarative databases, users, and grants. The instance database is created automatically; connect via DATABASE_URL.

Usage

Drop it in doze.hcl and run doze up.

doze.hcl
mariadb "app" {
  version       = "11.4"
  character_set = "utf8mb4"

  user "app" {
    password = "secret"
    host     = "%"
  }
  grant {
    user       = "app"
    privileges = ["ALL PRIVILEGES"]
    database   = "app"
  }
}

Versions you can run

The version = you write is the engine's own version — the only version that's yours. Declare a series and doze pins its newest published build, or declare an exact build; either way it's fetched, verified, and pinned in doze.lock, so it never moves on its own.

version = pins (today) exact builds
11.4 11.4.12 11
11.8 11.8.8 7
every exact build, per series
11.4 — 11.4.12 · 11.4.11 · 11.4.10 · 11.4.9 · 11.4.8 · 11.4.7 · 11.4.6 · 11.4.5 · 11.4.4 · 11.4.3 · 11.4.2
11.8 — 11.8.8 · 11.8.7 · 11.8.6 · 11.8.5 · 11.8.4 · 11.8.3 · 11.8.2

the mirror also publishes 12.0 · 12.1 · 12.2 — declarable once the module adds support

Configuration

Arguments and nested blocks the engine accepts — generated from the module itself, so it can't drift.

Name Type Default Description
version REQ string MariaDB server version (e.g. 11.4)
character_set string default charset for the instance database (e.g. utf8mb4)
collation string default collation for the instance database
settings map(string) extra [mysqld] my.cnf entries
user block a MariaDB account (repeatable; label = name; host, password)
grant block a privilege grant (user, privileges, database, table)
Under the hood — module releases you never write these; doze picks and pins automatically

The plugin releases that provide this engine. doze selects the newest one compatible with your doze and your declared versions, pins it in doze.lock, and the index is cumulative — older releases stay resolvable for pinned lockfiles. modules { mariadb { version = "…" } } pins one exactly (the escape hatch for bisecting a regression).

release protocol engine support platforms
0.2.1 stable 1 11 3 platforms

raw signed data: index.yaml ↗ · meta.yaml ↗