codenamephp/deployer.mariadb
最新稳定版本:2.0.0
Composer 安装命令:
composer require codenamephp/deployer.mariadb
包简介
README 文档
README
What is it?
This package adds tasks to push, pull and copy mariadb databases along with various subtasks for dumping, importing etc.
Installation
Easiest way is via composer. Just run composer require codenamephp/deployer.mariadb in your cli which should install the latest version for you.
Usage
Use the included tasks in your deployer file. You need to add the database configuration to your hosts:
$deployerFunctions->localhost() ->set('database', [ 'user' => 'application', 'password' => 'application', 'name' => 'application', 'host' => 'database', ]);
All supported options are documented in the \de\codenamephp\deployer\mariadb\database\factory\database\iDatabase::fromArray interface.
For the copy tasks you need to have ssh agent forwarding enabled since the hosts try to connect directly using a local key. This key must have access to both servers. This way, the copy can work without the servers knowing about each other.
统计信息
- 总下载量: 1.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-01-30