{
  "name": "MariaDB",
  "version": "2.4.0",
  "slug": "mariadb",
  "description": "A SQL database server",
  "url": "https://github.com/home-assistant/hassio-addons/tree/master/mariadb",
  "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
  "startup": "system",
  "init": false,
  "timeout": 20,
  "snapshot_pre": "/bin/s6-svc -wU -u /run/s6/services/mariadb-lock/",
  "snapshot_post": "/bin/s6-svc -wd -d /run/s6/services/mariadb-lock/",
  "services": ["mysql:provide"],
  "ports": {
    "3306/tcp": null
  },
  "options": {
    "databases": ["homeassistant"],
    "logins": [{ "username": "homeassistant", "password": null }],
    "rights": [
      {
        "username": "homeassistant",
        "database": "homeassistant"
      }
    ]
  },
  "schema": {
    "databases": ["str"],
    "logins": [{ "username": "str", "password": "password" }],
    "rights": [
      {
        "username": "str",
        "database": "str",
        "privileges": [
          "list(ALTER|CREATE|CREATE ROUTINE|CREATE TEMPORARY TABLES|CREATE VIEW|DELETE|DELETE HISTORY|DROP|EVENT|GRANT OPTION|INDEX|INSERT|LOCK TABLES|SELECT|SHOW VIEW|TRIGGER|UPDATE)?"
        ]
      }
    ]
  },
  "image": "homeassistant/{arch}-addon-mariadb"
}
