Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.04 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.04 KB

Yandex.Disk Docker image

Docker Automated build Docker Pulls

How it works

  1. Run container using interactive mode with mounted directory for configuration
  2. Obtain OAuth token using your login and password
  3. Stop container
  4. Run container in daemon mode with mounted configuration directory which contains auth token

Setup mode

docker run --rm -it \
           -v /opt/yandex.disk/config:/root/.config/yandex-disk \
           -v /opt/yandex.disk/data:/root/Yandex.Disk \
           ruslanys/yandex.disk setup

Daemon mode

docker run -d --name yandex.disk --restart always \
           -v /opt/yandex.disk/config:/root/.config/yandex-disk \
           -v /opt/yandex.disk/data:/root/Yandex.Disk \
           ruslanys/yandex.disk