Skip to content

weefs,lua,nginx and file post processing with ffmpeg and graphicsmagick

Notifications You must be signed in to change notification settings

medcl/lua-resty-weedfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-resty-weedfs

weefs,lua,nginx and file post processing with ffmpeg and graphicsmagick

#start weedfs with 1 replica

` ./weed master -ip="0.0.0.0" -defaultReplication="001" -mdir="." &

./weed volume -max=100 -mserver="localhost:9333" -dir="./data/v1" -port=8083 -ip="119.254.xx.xx" -dataCenter="dc1" -rack="rack1" &

./weed volume -max=100 -mserver="localhost:9333" -dir="./data/v2" -port=8084 -ip="119.254.xx.xx" -dataCenter="dc1" -rack="rack1" &

./weed volume -max=100 -mserver="localhost:9333" -dir="./data/v3" -port=8085 -ip="119.254.xx.xx" -dataCenter="dc1" -rack="rack1" & `

#upload file to weedfs curl https://localhost:9333/dir/assign

curl -F file=@/home/chris/myphoto.jpg https://127.0.0.1:8080/3,01637037d6

curl https://localhost:9333/dir/status?pretty=y

curl https://localhost:9333/dir/assign?dataCenter=dc1

curl https://localhost:9333/dir/assign?collection=pictures

curl https://localhost:9333/dir/assign?collection=documents

#access the file

https://domain/img/orig/123,123123

https://domain/img/80x80/123,123123

https://domain/img/200x200/123,123123

...

About

weefs,lua,nginx and file post processing with ffmpeg and graphicsmagick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published