mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-10 00:34:22 +01:00
* 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
33 lines
794 B
JSON
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
|
|
}
|