serverctl/registry/mysql.json

33 lines
761 B
JSON
Raw Permalink Normal View History

2022-09-27 10:29:56 +00:00
{
"$type": "service",
"name": "mysql",
"description": "MySQL RDBMS",
2022-09-28 11:22:19 +00:00
"help": "Default credentials are root/toor",
"tags": [ "rdbms", "mysql" ],
2022-09-27 10:29:56 +00:00
"author": null,
"image": "mysql",
"ports": [
{ "port": 3306, "info": "MySQL client" }
],
"environment": {
"MARIADB_ROOT_PASSWORD": "toor"
},
"persistence": [
{ "path": "/data", "hint": "data" }
],
"scripts": {
"shell": {
2024-03-02 16:10:30 +00:00
"info": "Open the MySQL shell",
2022-09-27 10:29:56 +00:00
"execute": "mysql -uroot -p%{MARIADB_ROOT_PASSWORD}"
},
"export": {
"info": "Export the database",
"execute": "mysqldump -uroot -p%{MARIADB_ROOT_PASSWORD}"
},
"import": {
"info": "Import the database",
"execute": "mysql -uroot -p%{MARIADB_ROOT_PASSWORD}"
}
}
}