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_HOST="mysql"
PANEL_DB_ROOT_PASSWORD="mysql_root_password" PANEL_DB_ROOT_PASSWORD="mysql_root_password"
TIME_ZONE="Asia/Shanghai" TIME_ZONE="Asia/Shanghai"
SERVER_HOSTNAME="0.0.0.0"
#SEAFILE_DB_PORT="3306" #SEAFILE_DB_PORT="3306"

View File

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

View File

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

View File

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

View File

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

View File

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