Go to file
2019-12-09 21:26:01 +03:00
seafile_client Improve logging a little 2019-12-05 15:58:11 +03:00
.gitignore Update .gitignore 2019-12-09 21:25:01 +03:00
docker-compose.example.yml update docker-compose info in README 2019-04-14 13:18:09 +03:00
Dockerfile Fix import error 2019-12-06 11:42:20 +03:00
LICENSE Update license 2019-12-09 21:25:12 +03:00
README.md Remove obsolete code 2019-12-09 21:24:31 +03:00
requirements.txt rewrite start script in python 2019-04-14 12:34:20 +03:00
start.py Fix circular dependencies 2019-12-05 15:58:11 +03:00

docker-seafile-client

Run a seafile client inside docker witch can sync files from seafile repositories

See docker-compose how to use.

Docker-compose example:

version: '3'
services:
  seafile-client:
    restart: always
    build: .
    container_name: seafile-client
    environment:
      - LIBRARY_ID=<your-library-id-here>
      - SERVER_HOST=<server-host>
      - SERVER_PORT=<server-port>
      - USERNAME=<username>
      - PASSWORD=<password>
      - DATA_DIR=<directory-path-to-sync>
      - SEAFILE_UID=<your_uid>
      - SEAFILE_GID=<your_gid>
    volumes:
      - <host-volume-path>:<directory-path-to-sync>

Environment variables:

  • LIBRARY_ID=<your-library-id-here> ID of library to sync; multiple libraries could be separated by colon :
  • SERVER_HOST=<server-host> Hostname of your seafile server, eg: seafile.example.com
  • SERVER_PORT=<server-port> Which port the server is hosted on: usually 443 (https) or 80 (http)
  • USERNAME=<username> Seafile account username
  • PASSWORD=<password> Seafile account password
  • DATA_DIR=<directory-path-to-sync> The path where to put the files
  • SEAFILE_UID=<uid> Downloaded files will have this uid
  • SEAFILE_GID=<gid> Downloaded files will have this gid