惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
G
Google Developers Blog
小众软件
小众软件
V
V2EX
月光博客
月光博客
腾讯CDC
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
Y
Y Combinator Blog
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 【当耐特】
D
Docker
M
MIT News - Artificial intelligence
Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
I
InfoQ
MongoDB | Blog
MongoDB | Blog
Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI

俗子

awk常用命令及功能 istio 配置 k8s 节点控制 dns 私有服务器 golang 私有包 verdaccio 前端私有源 chrony 时间同步 k8s 问题集锦 gitlab jenkins k8s 部署 linux 多显示器管理 mysql记录 nginx 日常 服务器ssh登录配置 域名信息收集工具 ssh port forward redis拾遗-性能指标 逆向工具
SeaFile 网盘
俗子 · 2024-05-11 · via 俗子

Seafile 是一款开源的企业云盘,注重可靠性和性能,支持全平台客户端。Seafile 内置协同文档 SeaDoc ,让协作撰写、管理和发布文档更便捷。
Seafile 提供全面的网盘功能,用户可以在 Seafile 中存储、管理和共享文件。支持多种文件类型。支持全平台客户端,包括 Windows、Mac、Linux、iOS、Android 多种操作系统以及移动设备,可以在任何设备上轻松访问和管理文件,体验更为统一。
Seafile 的协作功能超越了简单的文件共享。它支持多人协同在线编辑、文档编辑锁定,同时提供权限管理、版本控制和事件通知等功能,使得团队协作更加流畅、可控和高效。

(官网)[https://www.seafile.com/]

部署

建议使用 docker 容器化部署,此处给出常用 docker-compose 配置文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
version: '3.6'

services:
db:
image: mariadb:10.11
container_name: seafile-mysql
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_LOG_CONSOLE=true
volumes:
- ./data/db:/var/lib/mysql
ports:
- 3306:3306
networks:
- seafile-net
logging:
options:
max-size: "10m"
max-file: "3"

memcached:
image: memcached:1.6
container_name: seafile-memcached
restart: unless-stopped
entrypoint: memcached -m 256
networks:
- seafile-net
logging:
options:
max-size: "10m"
max-file: "3"

seafile:
# image: seafileltd/seafile-mc:latest
image: seafileltd/seafile-mc:11.0.5
container_name: seafile
privileged: true
restart: unless-stopped
ports:
- "80:80"
- "8000:8000"
volumes:
- ./data/seafile:/shared
environment:
- SEAFILE_ADMIN_PASSWORD=password@admin.com
- DB_HOST=db
- DB_ROOT_PASSWD=password
- SEAFILE_ADMIN_EMAIL=admin@admin.com
- SEAFILE_SERVER_HOSTNAME=ip
- SEAFILE_SERVER_LEFSENCRYPT=false
depends_on:
- memcached
- db
- sdoc-server
- onlyoffice-documentserver
networks:
- seafile-net
- ldap-net # Remove this network if LDAP is not used
logging:
options:
max-size: "10m"
max-file: "3"

# Remove this section if you do not want to use only office integration
onlyoffice-documentserver:
image: onlyoffice/documentserver:8.0.1
restart: unless-stopped
container_name: onlyoffice
privileged: true
environment:
- JWT_ENABLED=true
- JWT_SECRET=seafile

ports:
- "8889:80"
volumes:
# Optional: see https://manual.seafile.com/deploy/only_office/
- ./data/onlyoffice/log:/var/log/onlyoffice
- ./data/onlyoffice/data:/var/www/onlyoffice/Data
- ./data/onlyoffice/lib:/var/lib/onlyoffice
- ./data/onlyoffice/db:/var/lib/postgresql
# - ./data/onlyoffice/local.json:/etc/onlyoffice/documentserver/local.json
networks:
- seafile-net
# logging:
# options:
# max-size: "10m"
# max-file: "3"
sdoc-server:
image: seafileltd/sdoc-server:0.5.0
container_name: sdoc-server
restart: unless-stopped
ports:
# - 8888:80
# - 443:443
- 7070:7070
- 8888:8888
volumes:
- ./data/seafile/sdoc-data/:/shared
networks:
- seafile-net
environment:
- DB_HOST=db
- DB_PORT=3306
- DB_USER=root
- DB_PASSWD=password # Requested, password of MySQL service.
- DB_NAME=sdoc_db
- TIME_ZONE=Asia/Shanghai
- SDOC_SERVER_LETSENCRYPT=false # Whether to use https or not.
- SEAHUB_SERVICE_URL=http://ip

networks:
seafile-net:
name: seafile-net
ipam:
driver: default
config:
- subnet: 172.31.0.0/16
ldap-net: # Remove this network if LDAP is not used
external: true
name: ldap-net

使用

参考官方文档
https://cloud.seafile.com/published/seafile-user-manual/