
m3adow/seafileSeafile Docker container based on Ubuntu
If you want to run with sqlite:
bashdocker run -d -e SEAFILE_NAME=Seaflail \ -e SEAFILE_ADDRESS=seafile.adminswerk.de \ -e SEAFILE_ADMIN=*** \ -e SEAFILE_ADMIN_PW=LoremIpsum \ -v /home/data/seafile:/seafile \ m3adow/seafile
If you want to use MySQL:
bashdocker run -d -e SEAFILE_NAME=Seaflail \ -e SEAFILE_ADDRESS=seafile.adminswerk.de \ -e SEAFILE_ADMIN=*** \ -e SEAFILE_ADMIN_PW=LoremIpsum \ -e MYSQL_SERVER=172.17.0.2 \ -e MYSQL_USER=seafile \ -e MYSQL_USER_PASSWORD=Seafail \ -e MYSQL_ROOT_PASSWORD=hunter2 \ -v /home/data/seafile:/seafile \ m3adow/seafile
Filetree:
/seafile/ |-- ccnet |-- conf |-- seafile-data `-- seahub-data /opt/ `-- haiwen |-- ccnet -> /seafile/ccnet |-- conf -> /seafile/conf |-- logs |-- pids |-- seafile-data -> /seafile/seafile-data |-- seafile-server-5.1.3 |-- seafile-server-latest -> seafile-server-5.1.3 `-- seahub-data -> /seafile/seahub-data
All important data is stored under /seafile, so you should be mounting a volume there (recommended) or at the respective subdirectories. This will not happen automatically!
There are a plethora of environment variables which might be needed for your setup. I recommend using Dockers --env-file option.
Mandatory ENV variables for auto setup
If you want to use MySQL/MariaDB, the following variables are needed:
Mandatory ENV variables for MySQL/MariaDB
Optional ENV variables for auto setup with MySQL/MariaDB
If you plan on omitting /seafile as a volume and mount the subdirectories instead, you'll need to additionally specify SEAHUB_DB_DIR which containes the subdirectory of /seafile the seahub.db file shall be put in.
There are some more variables which could be changed but have not been tested and are probably not fully functional as well. Therefore those not mentioned here. Inspect the seafile-entrypoint.sh script if you have additional needs for customization.
This container does not include a web server. It's intended to be run behind a reverse proxy. You can read more about that in the Seafile manual: [***]
If you want to run seahub in fastcgi mode, you can pass ENV variables SEAFILE_FASTCGI=1 and SEAFILE_FASTCGI_HOST=0.0.0.0






manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务