发布应用 Synapse

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2024-10-30 16:20:35 +08:00
parent 3824577f8f
commit 436010c6f2
2 changed files with 8 additions and 1 deletions

View File

@ -8,3 +8,10 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: "matrix.example.com"
edit: true
envKey: DOMAIN_NAME
labelZh: 服务域名
labelEn: Domain Name
required: true
type: text

View File

@ -12,7 +12,7 @@ if [ -f .env ]; then
mkdir -p "${CURRENT_DIR}/data"
docker run -it --rm \
--mount type=bind,src="${CURRENT_DIR}/data",dst=/data \
-e SYNAPSE_SERVER_NAME="$DOMAIN_NAME" \
-e SYNAPSE_SERVER_NAME="${DOMAIN_NAME}" \
-e SYNAPSE_REPORT_STATS=no \
matrixdotorg/synapse:latest generate