Skip to content
This repository has been archived by the owner on Mar 27, 2018. It is now read-only.

Latest commit

 

History

History
51 lines (35 loc) · 2.01 KB

README.md

File metadata and controls

51 lines (35 loc) · 2.01 KB

docker-putio

Docker Hub repository

Docker Automated buil Build Status

Versions

Version follows putio api version

  • 2.0 (latest) (based on master branch)

Image

This image is a debian jessie image with php cli support. Library uses for putio is https://github.com/nicoSWD/put.io-api-v2 The script download all files from putio with the same directories. If there is no files on putio it removes everything in the directory. Then if a rsync server has been configured, it will sync the directory. If you don't use rsync, just mount /root/download/ directory. You will need an oauth token access; the process is described by https://put.io/v2/docs/gettingstarted.html

Use

Use from command line:

docker run -e 'PUTIO_KEY=ACCESS_TOKEN' nouchka/putio

or use with docker compose:

docker-compose up -d

Environment variables:

PUTIO_KEY=ACCESS_TOKEN
PUTIO_ROOT_DIR=directory (optionnal, specify a directory to filter)
RSYNC_REPO=putio
RSYNC_SERVER=rsyncd.server.lan
RSYNC_USER=rsync-user
RSYNC_PASSWORD=rsync-password

Todo

  • CI (difficult without a test account on putio)
  • Migrate docker-compose file format to version 2/3

Donate

Bitcoin Address: 15NVMBpZJTvkefwfsMAFA3YhyiJ5D2zd3R