定制 punktde/syncedfilesystemstorage 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

punktde/syncedfilesystemstorage

最新稳定版本:1.0.0

Composer 安装命令:

composer require punktde/syncedfilesystemstorage

包简介

Sync resources to a second server

README 文档

README

Latest Stable Version Total Downloads License

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

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-08