update README

This commit is contained in:
Maks Snegov 2019-04-14 13:08:29 +03:00
parent 40827f413f
commit 6e7177ebc2

View File

@ -4,12 +4,14 @@ Run a seafile client inside docker witch can sync files from seafile repositorie
See docker-compose how to use.
## Environment variables:
- LIBRARY_ID=your-library-id-here Can be multiple library ids seperated with colon :
- SERVER_URL=server-url The url used to access your server, eg: https://example.seafile.com
- SERVER_PORT=server-port Which port the server is hosted on: usually 443 (https) or 80 (http)
- USERNAME=username Your account username (credentials)
- PASSWORD=password Your account password (credentials)
- DATA_DIR=directory-path-to-sync The path where to put the files
- `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
## How to find library id: