- 使用官方最新的源码安装
- /data为数据库的目录
- /express-ffmpeg/movies为上传文件的目录
- /express-ffmpeg/public/videos为切片后的文件目录
- 3000为web端口,可以使用nginx/apache做域名映射
version: '2.1'
services:
express-ffmpeg:
image: palidin/express-ffmpeg:release
ports:
- 3000:3000
privileged: true
volumes:
- /data/express-ffmpeg/mongodb:/data
- /mnt/movies:/express-ffmpeg/movies
- /mnt/videos:/express-ffmpeg/public/videos