flowgunso/seafile-clientThis repository will be moved to another namespace flrnnc/seafile-client. See moving to another namespace for explanations.
![Pipeline status]([] ![Docker image size]([] ![Docker pulls]([] ![License]([] ![Release]([] ![]([] ![BuyMeACoffee]([] ![Build date]([] ![Patreon]([]
Share one or more Seafile libraries as a volume to other containers.
The versions match Seafile versions.
9, 9.0, 9.0.16, latest
9, 9.0, 9.0.13
8, 8.0, 8.0.10
The Docker image is built weekly to keep up with security updates.
The following command start the Seafile client with one library:
bashdocker run \ -e SEAF_SERVER_URL="[***]" \ -e SEAF_USERNAME="a_seafile_user" \ -e SEAF_PASSWORD="SoMePaSSWoRD" \ -e SEAF_LIBRARY="an-hexadecimal-library-uuid" \ -v path/to/library:/library \ -v path/to/client/data:/seafile \ flrnnc/seafile-client:latest
The following Docker Compose start a Seafile client with two libraries, with one password protected:
yamlversion: "3" services: seafile-client: image: flrnnc/seafile-client:latest volumes: - audio:/library/audio - documents:/library/documents - client:/seafile environment: SEAF_SERVER_URL: "[***]" SEAF_USERNAME: "a_seafile_user" SEAF_PASSWORD: "SoMePaSSWoRD" SEAF_LIBRARY_AUDIO: "audio-library-uuid" SEAF_LIBRARY_AUDIO_PASSWORD: "auDioLiBRaRyPaSSWoRD" SEAF_LIBRARY_DOCUMENTS: "documents-library-uuid" volumes: audio: documents: client:
Environment variables allows librairies configuration, as shown in the examples above.
You can configure either a single librairy or multiple librairies.
To synchronize a single library, use the environment variables SEAF_LIBRARY and SEAF_LIBRARY_PASSWORD. The library will be synchronized in /library.
To synchronise multiple librairies, use the same environment variable as above but suffixed with a single identifier word. That word will be used for the library password and it's synchronization path as well.
Hence, to synchronise a library identified as audio, the environment variables would be SEAF_LIBRARY_AUDIO for the library UUID and SEAF_LIBRARY_AUDIO_PASSWORD for the library password. The library will be then synchronized in /library/audio.
Identifiers allows to add as many libraries as possible. Identifier are single word only.
Environment variable allows you to configure the Seafile client.
SEAF_SERVER_URLThis variable is mandatory.
The Seafile server URL.
SEAF_USERNAMEThis variable is mandatory.
The username for the Seafile account.
SEAF_PASSWORDAt least one of
SEAF_PASSWORDorSEAF_TOKENis mandatory.
The password for the Seafile account.
SEAF_TOKENAt least one of
SEAF_PASSWORDorSEAF_TOKENis mandatory.
The API token for the Seafile account.
If both SEAF_PASSWORD and SEAF_TOKEN are provided, the API token will take precedence.
SEAF_LIBRARY, SEAF_LIBRARY_[IDENTIFIER]This variable is mandatory.
The UUID of the library, libraries to synchronize.
Replace [IDENTIFIER] with the a unique single word identifier for each library you want to synchronize.
SEAF_LIBRARY_PASSWORD, SEAF_LIBRARY_[IDENTIFIER]_PASSWORDThe password of the library, libraries to synchronize.
Replace [IDENTIFIER] with the a unique single word identifier for each library you want to synchronize corresponding to the SEAF_LIBRARY_[IDENTIFIER].
SEAF_2FA_SECRETTwo factor authentication is supported but your secret key must be provided. That key can be found on your Seafile web interface, only at the 2FA setup, when the QR code is shown. The secret key is embedded in the QR or available as a cookie.
SEAF_UPLOAD_LIMIT, SEAF_DOWNLOAD_LIMITSet upload and download speeds limits. Limits are in bytes.
SEAF_SKIP_SSL_CERTSkip SSL certificates verifications.
Any string is ***ed true, omit the variable to set to false. Enable this if you have synchronization failures regarding SSL certificates.
UID, GIDOverride the UID and GID for user running the Seafile client, hence the volume ownership.
All environments variable supports Docker Secrets, as environment variable variant suffixed with _FILE as files.
bashversion: "3" services: seafile-client: image: flrnnc/seafile-client:latest volumes: - audio:/library/audio - documents:/library/documents - client:/seafile environment: SEAF_SERVER_URL: "[***]" SEAF_USERNAME: "a_seafile_user" SEAF_PASSWORD: "SoMePaSSWoRD" SEAF_LIBRARY_AUDIO: "audio-library-uuid" SEAF_LIBRARY_AUDIO_PASSWORD: "auDioLiBRaRyPaSSWoRD" SEAF_LIBRARY_DOCUMENTS: "documents-library-uuid" SEAF_2FA_SECRET: "JBSWY3DPEHPK3PXPIXDAUMXEDOXIUCDXWC32CS" SEAF_UPLOAD_LIMIT: "***" SEAF_DOWNLOAD_LIMIT: "***" SEAF_SKIP_SSL_CERT: "true" UID: "1000" GID: "1000" volumes: audio: documents: client:
This repository is being moved to a new namespace flrnnc.
I am applying to open source software programs on the service providers I rely on such as Gitlab and Docker. It means that my project must be reorganized. The flrnnc namespace is dedidacted to open source software I publish on Docker.
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
MacOS OrbStack 容器配置
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务