Files
addons/mariadb/config.json
Ron Miller 61a6e7cefe Disable binlogging by default (#204)
* Add binlogging caps

The default binlogging for mariadb will easily fill a modest disk after a couple of weeks on a busy instance.  This setting will limit that usage and have mariadb rotate the logs out after 1 day.

* Disable binlogging on mariadb

Binlogging will, by default, run amok on the drive and fill it.  It's also going to run a lot of write cycles to SD cards which will considerably shorten their lifespan.

* Update run.sh

* Update config.json
2017-11-29 11:52:50 +01:00

33 lines
794 B
JSON

{
"name": "MariaDB",
"version": "0.2",
"slug": "mariadb",
"description": "An SQL database server",
"url": "https://home-assistant.io/addons/mariadb/",
"startup": "system",
"boot": "auto",
"ports": {
"3306/tcp": 3306
},
"options": {
"databases": ["homeassistant"],
"logins": [
{"username": "hass", "host": "%", "password": null}
],
"rights": [
{"username": "hass", "host": "%", "database": "homeassistant", "grant": "ALL PRIVILEGES ON"}
]
},
"schema": {
"databases": ["str"],
"logins": [
{"username": "str", "host": "str", "password": "str"}
],
"rights": [
{"username": "str", "host": "str", "database": "str", "grant": "str"}
]
},
"image": "homeassistant/{arch}-addon-mariadb",
"timeout": 20
}