Misc fixes, templates
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
"$type": "service",
|
||||
"name": "mailhog",
|
||||
"description": "SMTP server that holds e-mail for debugging",
|
||||
"info": "Mailhog accepts e-mails from any configured app over SMTP for use during development. Received messages can be displayed in the web interface.",
|
||||
"tags": [ "app", "mail", "smtp" ],
|
||||
"author": null,
|
||||
"image": "mailhog/mailhog",
|
||||
|
@ -2,6 +2,7 @@
|
||||
"$type": "service",
|
||||
"name": "mariadb",
|
||||
"description": "MariaDB RDBMS (MySQL fork)",
|
||||
"info": "MariaDB is a mostly MySQL compatible relational database server.",
|
||||
"help": "Default credentials are root/toor",
|
||||
"tags": [ "rdbms", "mysql" ],
|
||||
"author": null,
|
||||
@ -16,17 +17,17 @@
|
||||
{ "path": "/data", "hint": "data" }
|
||||
],
|
||||
"scripts": {
|
||||
"mongosh": {
|
||||
"info": "Open the mongo shell",
|
||||
"execute": "mongosh"
|
||||
"shell": {
|
||||
"info": "Open the MariaDB shell",
|
||||
"execute": [ "mysql", "-uroot", "-p${MARIADB_ROOT_PASSWORD}" ]
|
||||
},
|
||||
"export": {
|
||||
"info": "Export the database",
|
||||
"execute": "mysqldump "
|
||||
"execute": "mysqldump -uroot -p${MARIADB_ROOT_PASSWORD} --all-databases"
|
||||
},
|
||||
"import": {
|
||||
"info": "Import the database",
|
||||
"execute": "mongoimport"
|
||||
"execute": "mysql -uroot -p${MARIADB_ROOT_PASSWORD}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,8 @@
|
||||
"scripts": {
|
||||
"shell": {
|
||||
"info": "Open the mongo shell",
|
||||
"execute": "mongosh"
|
||||
"execute": "mongosh",
|
||||
"arguments": [ "-u", "root", "-p", "toor" ]
|
||||
},
|
||||
"export": {
|
||||
"info": "Export the database",
|
||||
|
@ -17,7 +17,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"shell": {
|
||||
"info": "Open the mongo shell",
|
||||
"info": "Open the MySQL shell",
|
||||
"execute": "mysql -uroot -p%{MARIADB_ROOT_PASSWORD}"
|
||||
},
|
||||
"export": {
|
||||
|
Reference in New Issue
Block a user