punktde/syncedfilesystemstorage
最新稳定版本:1.0.0
Composer 安装命令:
composer require punktde/syncedfilesystemstorage
包简介
Sync resources to a second server
README 文档
README
This package takes care of syncing files, handled by the Flow resource management, to one or several other hosts using rsync. This can be used to build a lightweight multi application server environment without having a central file storage.
Prerequisite
- Rsync is installed on all participating servers
- The Neos base path is the same on all servers
- Public key authentication is configured for the user that runs php
Installation
Install the package using
composer require punktde/syncedfilesystemstorage
Configure the target hosts. For the first host just provide the environment variables RESOURCE_SYNC_TARGET_HOST and RESOURCE_SYNC_TARGET_USER.
It is recommended to limit the sync user to only allow rsync and to set a jail root to the resource directory. In this case, also configure the environment variable RESOURCE_SYNC_TARGET_ROOT_DIRECTORY to the jail root directory.
统计信息
- 总下载量: 633
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-08