doze doze/registry
M

MariaDB

official ● signed
doze/mariadb
module v0.2.0 · plugin protocol 1

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"
  }
}

Engine versions

Choose one with version =. doze fetches & verifies it, then pins it in doze.lock.

11

Configuration

Arguments and nested blocks the engine accepts.

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)