{ "$type": "service", "name": "mysql", "description": "MySQL", "author": null, "image": "mysql", "ports": [ { "port": 3306, "info": "MySQL client" } ], "environment": { "MARIADB_ROOT_PASSWORD": "toor" }, "persistence": [ { "path": "/data", "hint": "data" } ], "scripts": { "shell": { "info": "Open the mongo shell", "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}" } } }