# 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: ```yaml version: '3' services: seafile-client: restart: always image: snegov/seafile-client container_name: seafile-client environment: - LIBRARY_ID= - SERVER_HOST= - SERVER_PORT= - USERNAME= - PASSWORD= - DATA_DIR= - SEAFILE_UID= - SEAFILE_GID= volumes: - : ``` ## Environment variables: - `LIBRARY_ID=` ID of library to sync; multiple libraries could be separated by colon `:` - `SERVER_HOST=` Hostname of your seafile server, eg: seafile.example.com - `SERVER_PORT=` Which port the server is hosted on: usually 443 (https) or 80 (http) - `USERNAME=` Seafile account username - `PASSWORD=` Seafile account password - `DATA_DIR=` The path where to put the files - `SEAFILE_UID=` Downloaded files will have this uid - `SEAFILE_GID=` Downloaded files will have this gid