feat:更新seafile配置

This commit is contained in:
okxlin 2024-01-05 11:12:00 +08:00
parent b98b5359d6
commit 4b58e31470
6 changed files with 68 additions and 54 deletions

View File

@ -7,4 +7,5 @@ PANEL_APP_PORT_HTTP="40130"
PANEL_DB_HOST="mysql"
PANEL_DB_ROOT_PASSWORD="mysql_root_password"
TIME_ZONE="Asia/Shanghai"
SERVER_HOSTNAME="0.0.0.0"
#SEAFILE_DB_PORT="3306"

View File

@ -1,25 +1,21 @@
additionalProperties:
formFields:
- child:
- default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: MySQL
value: mysql
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
@ -67,21 +63,31 @@ additionalProperties:
labelZh: 时区
required: true
type: text
- default: ""
edit: true
envKey: MEMCACHED_HOST
key: memcached
- default: memcached
envKey: MEMCACHED_TYPE
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
type: apps
values:
- label: Memcached
value: memcached
- label: LocalMemcached
value: localmemcached
child:
default: ""
envKey: MMEMCACHED_HOST
labelEn: Memcached Service
labelZh: Memcached 服务
required: true
type: service
- default: localhost.com
edit: true
envKey: SERVER_HOSTNAME
labelEn: Server hostname (Domain or IP)
labelZh: 服务端主机名 (域名 或 IP)
required: true
type: text
#- default: 40130
# edit: true
# envKey: PANEL_APP_PORT_HTTPS

View File

@ -17,7 +17,7 @@ services:
- SEAFILE_ADMIN_EMAIL=${ADMIN_EMAIL}
- SEAFILE_ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SEAFILE_SERVER_LETSENCRYPT=false
#- SEAFILE_SERVER_HOSTNAME=${SERVER_HOSTNAME}
- SEAFILE_SERVER_HOSTNAME=${SERVER_HOSTNAME}
image: seafileltd/seafile-mc:11.0.3
labels:
createdBy: "Apps"

View File

@ -7,4 +7,5 @@ PANEL_APP_PORT_HTTP="40130"
PANEL_DB_HOST="mysql"
PANEL_DB_ROOT_PASSWORD="mysql_root_password"
TIME_ZONE="Asia/Shanghai"
SERVER_HOSTNAME="0.0.0.0"
#SEAFILE_DB_PORT="3306"

View File

@ -1,25 +1,21 @@
additionalProperties:
formFields:
- child:
- default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: MySQL
value: mysql
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
@ -67,21 +63,31 @@ additionalProperties:
labelZh: 时区
required: true
type: text
- default: ""
edit: true
envKey: MEMCACHED_HOST
key: memcached
- default: memcached
envKey: MEMCACHED_TYPE
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
type: apps
values:
- label: Memcached
value: memcached
- label: LocalMemcached
value: localmemcached
child:
default: ""
envKey: MMEMCACHED_HOST
labelEn: Memcached Service
labelZh: Memcached 服务
required: true
type: service
- default: localhost.com
edit: true
envKey: SERVER_HOSTNAME
labelEn: Server hostname (Domain or IP)
labelZh: 服务端主机名 (域名 或 IP)
required: true
type: text
#- default: 40130
# edit: true
# envKey: PANEL_APP_PORT_HTTPS

View File

@ -17,7 +17,7 @@ services:
- SEAFILE_ADMIN_EMAIL=${ADMIN_EMAIL}
- SEAFILE_ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SEAFILE_SERVER_LETSENCRYPT=false
#- SEAFILE_SERVER_HOSTNAME=${SERVER_HOSTNAME}
- SEAFILE_SERVER_HOSTNAME=${SERVER_HOSTNAME}
image: seafileltd/seafile-mc:latest
labels:
createdBy: "Apps"