精简提交历史记录
This commit is contained in:
10
apps/seafile/latest/.env.sample
Normal file
10
apps/seafile/latest/.env.sample
Normal 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"
|
||||
92
apps/seafile/latest/data.yml
Normal file
92
apps/seafile/latest/data.yml
Normal 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
|
||||
27
apps/seafile/latest/docker-compose.yml
Normal file
27
apps/seafile/latest/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user