26 Star 58 Fork 14

天心流水 / image-force

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Image Force

Image Force is a duplicate image storing and availability ensuring system designed for small personal websites.

Image Force 是一个专为小型个人站点设计的图片多点存储及可用性保障系统。

Features

Image Force is designed for small websites or projects. When a image is uploaded to this system, it will be add to a queue to apply sync duplication. When a uploaded image is visited, it will be add to a queue to apply sync availability check.

Requirements

  • PHP 7+

Install

git clone https://github.com/takashiki/image-force
composer install --no-dev -o
# or `composer create-project takashiki/image-force:@dev`

cd image-force

cp .env.example .env
vi .env # adjust your settings

php artisan migrate

add supervisor config:

[program:image-force-worker]
process_name=%(program_name)s_%(process_num)02d
command=/path/to/php /path/to/image-force/artisan queue:work 
--sleep=1 --tries=3 --daemon --queue=duplicate,check,default 
autostart=true
autorestart=true
user=root
environment=HOME='/root'
redirect_stderr=true
stdout_logfile=/path/to/image-force/worker.log

空文件

简介

图片多点存储及可用性保障系统 展开 收起
PHP
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/takashiki/image-force.git
git@gitee.com:takashiki/image-force.git
takashiki
image-force
image-force
master

搜索帮助