发布应用 Synapse
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
f6b8b10404
commit
6cee8c4f35
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue