feat:添加seafile到列表

This commit is contained in:
okxlin 2023-08-27 06:10:28 +08:00
parent 6afacba215
commit 58c49c2ed1
10 changed files with 398 additions and 0 deletions

View File

@ -0,0 +1,10 @@
CONTAINER_NAME="seafile"
ADMIN_EMAIL="admin@localhost.com"
ADMIN_PASSWORD="admin_password"
DATA_PATH="./data"
MEMCACHED_HOST="memcached"
PANEL_APP_PORT_HTTP="40130"
PANEL_DB_HOST="mysql"
PANEL_DB_ROOT_PASSWORD="mysql_root_password"
TIME_ZONE="Asia/Shanghai"
#SEAFILE_DB_PORT="3306"

View File

@ -0,0 +1,92 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
default: mysql
labelEn: Database Service
labelZh: 数据库服务
params:
- envKey: SEAFILE_DB_PORT
key: mysql
type: param
value: "3306"
required: true
type: apps
values:
- label: MySQL
value: mysql
- default: mysql_root_password
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Database root password
labelZh: 数据库 root 密码
random: false
edit: true
required: true
rule: paramComplexity
type: password
- default: admin@localhost.com
edit: true
envKey: ADMIN_EMAIL
labelEn: Admin email
labelZh: 管理员邮箱
required: true
type: text
- default: seafile
edit: true
envKey: ADMIN_PASSWORD
labelEn: Admin password
labelZh: 管理员密码
random: true
required: true
rule: paramComplexity
type: password
- default: 40130
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: ""
edit: true
envKey: MEMCACHED_HOST
key: memcached
labelEn: Memcached Service
labelZh: Memcached 服务
required: true
type: service
#- default: localhost.com
# edit: true
# envKey: SERVER_HOSTNAME
# labelEn: Server hostname
# labelZh: 服务端主机名
# required: true
# type: text
#- default: 40130
# edit: true
# envKey: PANEL_APP_PORT_HTTPS
# labelEn: HTTPS Port
# labelZh: HTTPS 端口
# required: true
# rule: paramPort
# type: number

View File

@ -0,0 +1,27 @@
version: '3'
services:
seafile:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
#- "${PANEL_APP_PORT_HTTPS}:443"
volumes:
- "${DATA_PATH}:/shared"
environment:
- DB_HOST=${PANEL_DB_HOST}
- DB_ROOT_PASSWD=${PANEL_DB_ROOT_PASSWORD}
- TIME_ZONE=${TIME_ZONE}
- SEAFILE_ADMIN_EMAIL=${ADMIN_EMAIL}
- SEAFILE_ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SEAFILE_SERVER_LETSENCRYPT=false
#- SEAFILE_SERVER_HOSTNAME=${SERVER_HOSTNAME}
image: seafileltd/seafile-mc:10.0.1
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

120
apps/seafile/README.md Normal file
View File

@ -0,0 +1,120 @@
## Introduction
Seafile is an open source cloud storage system with privacy protection and teamwork features. Collections of files are called libraries. Each library can be synced separately. A library can also be encrypted with a user chosen password. Seafile also allows users to create groups and easily sharing files into groups.
## Feature Summary
Seafile has the following features:
### File syncing
1. Selective sync for any folder.
2. Correctly handles file conflicts based on history instead of timestamp.
3. Only transfer content delta to the server. Interrupted transfers can be resumed.
4. Sync with two or more servers.
5. Sync with existing folders.
### File sharing and collaboration
1. Sharing folders between users or into groups.
3. Download links with password protection
4. Upload links
5. Version control
### Drive client
* Access all files in the cloud via virtual drive.
* Files are synced on demand.
### Privacy protection
1. Library encryption with a user chosen password.
2. Client side encryption when using the desktop syncing.
### Online documents and knowledge management (New)
* Online Markdown editing in WYSIWYG way
* A draft review workflow for online documents
* Metadata management, including
* File labels
* Related documents
* Wiki mode
* Realtime notifications
## Source repositories for Seafile components
Each component of Seafile has its own source code repository on Github.
* Sync client daemon (this repository): https://github.com/haiwen/seafile
* Sync client GUI: https://github.com/haiwen/seafile-client
* Server core: https://github.com/haiwen/seafile-server
* Server web UI: https://github.com/haiwen/seahub
* iOS app: https://github.com/haiwen/seafile-iOS
* Android app: https://github.com/haiwen/seadroid
* WebDAV: https://github.com/haiwen/seafdav
Before version 6.0, the source code of "sync client daemon" and "server core" was mixed together in https://github.com/haiwen/seafile.
But after 6.0 version, the server core is separated into its own repository.
For this reason, the sync client daemon repository is still the "front page" for Seafile project on Github.
Build and Run
=============
See <https://manual.seafile.com/build_seafile/server>
Bug and Feature Request Reports
===============================
Please only submit bugs in GitHub issues (Pro customers should contact us via Email):
* Server, Web interface (Seahub) and desktop clients: https://github.com/haiwen/seafile/issues
* Android client: https://github.com/haiwen/seadroid/issues
* iOS client: https://github.com/haiwen/seafile-iOS/issues
Feature requests can be made and installation/usage problems can be discussed in the forum https://forum.seafile.com/.
Internationalization (I18n)
===========================
* [Translate Seafile web ui](https://github.com/haiwen/seafile/wiki/Seahub-Translation)
* [Translate Seafile desktop client](https://github.com/haiwen/seafile-client/#internationalization)
* [Translate Seafile Android app](https://github.com/haiwen/seadroid#internationalization)
* [Translate Seafile iOS app](https://github.com/haiwen/seafile-ios#internationalization-i18n)
Change Logs
===========
See <https://manual.seafile.com/changelog/server-changelog/>
Why Open Source
===============
Our primary goal is to build a first-class product. We think this goal can only be achieved by collaborating with the whole world.
Contributing
===========
For more information read [Contribution](https://manual.seafile.com/contribution/).
License
=======
- Seafile iOS client: Apache License v2
- Seafile Android client: GPLv3
- Desktop syncing client (this repository): GPLv2
- Seafile Server core: AGPLv3
- Seahub (Seafile server Web UI): Apache License v2
Contact
=======
Twitter: @seafile <https://twitter.com/seafile>
Forum: <https://forum.seafile.com>

20
apps/seafile/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: Seafile
tags:
- 工具
title: 具有隐私保护和团队合作功能的开源云存储系统
type: 工具
description: 具有隐私保护和团队合作功能的开源云存储系统
additionalProperties:
key: seafile
name: Seafile
tags:
- Tool
shortDescZh: 具有隐私保护和团队合作功能的开源云存储系统
shortDescEn: An open source cloud storage system with privacy protection and teamwork features
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://www.seafile.com
github: https://github.com/haiwen/seafile
document: https://manual.seafile.com

View File

@ -0,0 +1,10 @@
CONTAINER_NAME="seafile"
ADMIN_EMAIL="admin@localhost.com"
ADMIN_PASSWORD="admin_password"
DATA_PATH="./data"
MEMCACHED_HOST="memcached"
PANEL_APP_PORT_HTTP="40130"
PANEL_DB_HOST="mysql"
PANEL_DB_ROOT_PASSWORD="mysql_root_password"
TIME_ZONE="Asia/Shanghai"
#SEAFILE_DB_PORT="3306"

View File

@ -0,0 +1,92 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
default: mysql
labelEn: Database Service
labelZh: 数据库服务
params:
- envKey: SEAFILE_DB_PORT
key: mysql
type: param
value: "3306"
required: true
type: apps
values:
- label: MySQL
value: mysql
- default: mysql_root_password
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Database root password
labelZh: 数据库 root 密码
random: false
edit: true
required: true
rule: paramComplexity
type: password
- default: admin@localhost.com
edit: true
envKey: ADMIN_EMAIL
labelEn: Admin email
labelZh: 管理员邮箱
required: true
type: text
- default: seafile
edit: true
envKey: ADMIN_PASSWORD
labelEn: Admin password
labelZh: 管理员密码
random: true
required: true
rule: paramComplexity
type: password
- default: 40130
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: ""
edit: true
envKey: MEMCACHED_HOST
key: memcached
labelEn: Memcached Service
labelZh: Memcached 服务
required: true
type: service
#- default: localhost.com
# edit: true
# envKey: SERVER_HOSTNAME
# labelEn: Server hostname
# labelZh: 服务端主机名
# required: true
# type: text
#- default: 40130
# edit: true
# envKey: PANEL_APP_PORT_HTTPS
# labelEn: HTTPS Port
# labelZh: HTTPS 端口
# required: true
# rule: paramPort
# type: number

View File

@ -0,0 +1,27 @@
version: '3'
services:
seafile:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
#- "${PANEL_APP_PORT_HTTPS}:443"
volumes:
- "${DATA_PATH}:/shared"
environment:
- DB_HOST=${PANEL_DB_HOST}
- DB_ROOT_PASSWD=${PANEL_DB_ROOT_PASSWORD}
- TIME_ZONE=${TIME_ZONE}
- SEAFILE_ADMIN_EMAIL=${ADMIN_EMAIL}
- SEAFILE_ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SEAFILE_SERVER_LETSENCRYPT=false
#- SEAFILE_SERVER_HOSTNAME=${SERVER_HOSTNAME}
image: seafileltd/seafile-mc:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/seafile/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB