mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -22,3 +22,85 @@ additionalProperties:
|
||||
labelEn: Domain Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "50M"
|
||||
edit: true
|
||||
envKey: SYNAPSE_MAX_UPLOAD_SIZE
|
||||
labelZh: 最大上传文件大小
|
||||
labelEn: Maximum upload file size
|
||||
required: true
|
||||
type: text
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: SYNAPSE_ENABLE_REGISTRATION
|
||||
labelZh: 注册功能
|
||||
labelEn: Enable registration
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "允许注册"
|
||||
value: "true"
|
||||
- label: "禁止注册"
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: SYNAPSE_ALLOW_GUEST
|
||||
labelZh: 访客功能
|
||||
labelEn: Enable registration
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "允许访客登录"
|
||||
value: "true"
|
||||
- label: "禁止访客登录"
|
||||
value: "false"
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: POSTGRES_HOST
|
||||
labelZh: 数据库 主机地址
|
||||
labelEn: Database Host
|
||||
required: false
|
||||
type: text
|
||||
- default: 5432
|
||||
edit: true
|
||||
envKey: POSTGRES_PORT
|
||||
labelZh: 数据库 端口
|
||||
labelEn: Database Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "synapse"
|
||||
edit: true
|
||||
envKey: POSTGRES_DB
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "synapse"
|
||||
edit: true
|
||||
envKey: POSTGRES_USER
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database Username
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: POSTGRES_PASSWORD
|
||||
labelZh: 数据库 密码
|
||||
labelEn: Database Password
|
||||
required: false
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SYNAPSE_RECAPTCHA_PUBLIC_KEY
|
||||
labelZh: reCAPTCHA 公钥
|
||||
labelEn: reCAPTCHA Public Key
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SYNAPSE_RECAPTCHA_PRIVATE_KEY
|
||||
labelZh: reCAPTCHA 私钥
|
||||
labelEn: reCAPTCHA Private Key
|
||||
required: false
|
||||
type: text
|
||||
|
||||
@@ -12,13 +12,15 @@ services:
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- SYNAPSE_REPORT_STATS=no
|
||||
volumes:
|
||||
- ${SYNAPSE_ROOT_PATH}/data:/data
|
||||
networks:
|
||||
- 1panel-network
|
||||
restart: no
|
||||
environment:
|
||||
- SYNAPSE_REPORT_STATS=no
|
||||
- SYNAPSE_NO_TLS=true
|
||||
- SYNAPSE_HTTP_PORT=8008
|
||||
synapse:
|
||||
image: matrixdotorg/synapse:v1.118.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
|
||||
Reference in New Issue
Block a user