Go to file
2021-02-28 23:26:04 +03:00
.github/workflows Update github workflow 2020-08-26 00:06:59 +03:00
seafile_client Fix getting seafile server URL 2020-08-25 23:17:58 +03:00
.gitignore Update .gitignore 2019-12-09 21:25:01 +03:00
docker-compose.example.yml Removed DATA_DIR environment variable 2021-02-28 23:26:04 +03:00
Dockerfile Update seafile repo URL 2021-01-30 22:59:09 +03:00
LICENSE Update license 2019-12-09 21:25:12 +03:00
README.md Removed DATA_DIR environment variable 2021-02-28 23:26:04 +03:00
requirements.txt rewrite start script in python 2019-04-14 12:34:20 +03:00
start.py Removed DATA_DIR environment variable 2021-02-28 23:26:04 +03:00

docker-seafile-client

Run a seafile client inside docker which can sync files from seafile repositories.

See docker-compose how to use.

Docker-compose example:

version: '3'
services:
  seafile-client:
    restart: always
    image: snegov/seafile-client
    container_name: seafile-client
    environment:
      - LIBRARY_ID=<your-library-id-here>
      - SERVER_HOST=<server-host>
      - USERNAME=<username>
      - PASSWORD=<password>
      - SEAFILE_UID=<your_uid>
      - SEAFILE_GID=<your_gid>
    volumes:
      - <host-volume-path>:/data

Inside container libraries' content will be put in /data directory, so map your host directory to it.

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. If you're using non-standart port, specify it here, eg: seafile.example.com:8080
  • USERNAME=<username> Seafile account username
  • PASSWORD=<password> Seafile account password
  • SEAFILE_UID=<uid> Downloaded files will have this uid
  • SEAFILE_GID=<gid> Downloaded files will have this gid