2018-04-18 16:28:15 +00:00
|
|
|
# docker-seafile-client
|
|
|
|
|
Run a seafile client inside docker witch can sync files from seafile repositories
|
2018-04-18 16:38:25 +00:00
|
|
|
|
|
|
|
|
See docker-compose how to use.
|
|
|
|
|
|
2018-04-18 16:44:24 +00:00
|
|
|
## Environment variables:
|
2019-04-14 10:08:29 +00:00
|
|
|
- `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
|
2018-04-18 16:44:24 +00:00
|
|
|
|
|
|
|
|
## How to find library id:
|
|
|
|
|
|
|
|
|
|
<img src="imgs/help.png"/>
|