fix(service): swap URL for FQDN on matrix template (#6466)
This commit is contained in:

committed by
GitHub

parent
c2ff9eae0d
commit
115a03947f
@@ -10,12 +10,12 @@ services:
|
||||
image: matrixdotorg/synapse:latest
|
||||
environment:
|
||||
- SERVICE_URL_MATRIX_8008
|
||||
- SYNAPSE_SERVER_NAME=${SERVICE_URL_MATRIX}
|
||||
- SYNAPSE_SERVER_NAME=${SERVICE_FQDN_MATRIX}
|
||||
- SYNAPSE_REPORT_STATS=${SYNAPSE_REPORT_STATS:-no}
|
||||
- ENABLE_REGISTRATION=${ENABLE_REGISTRATION:-false}
|
||||
- RECAPTCHA_PUBLIC_KEY=${RECAPTCHA_PUBLIC_KEY}
|
||||
- RECAPTCHA_PRIVATE_KEY=${RECAPTCHA_PRIVATE_KEY}
|
||||
- _SERVER_NAME=${SERVICE_URL_MATRIX}
|
||||
- _SERVER_NAME=${SERVICE_FQDN_MATRIX}
|
||||
- _ADMIN_NAME=${SERVICE_USER_ADMIN}
|
||||
- _ADMIN_PASS=${SERVICE_PASSWORD_ADMIN}
|
||||
volumes:
|
||||
@@ -44,7 +44,7 @@ services:
|
||||
# #
|
||||
##########################
|
||||
cat <<EOF > /data/homeserver.yaml
|
||||
server_name: "${SERVICE_URL_MATRIX}"
|
||||
server_name: "${SERVICE_FQDN_MATRIX}"
|
||||
pid_file: /data/homeserver.pid
|
||||
|
||||
# server
|
||||
@@ -64,7 +64,7 @@ services:
|
||||
database: /data/homeserver.db
|
||||
|
||||
# general
|
||||
log_config: "/data/${SERVICE_URL_MATRIX}.log.config"
|
||||
log_config: "/data/${SERVICE_FQDN_MATRIX}.log.config"
|
||||
media_store_path: /data/media_store
|
||||
report_stats: false
|
||||
|
||||
@@ -72,11 +72,11 @@ services:
|
||||
registration_shared_secret: $(<./registration_shared_secret)
|
||||
macaroon_secret_key: $(<./macaroon_secret_key)
|
||||
form_secret: $(<./form_secret)
|
||||
signing_key_path: "/data/${SERVICE_URL_MATRIX}.signing.key"
|
||||
signing_key_path: "/data/${SERVICE_FQDN_MATRIX}.signing.key"
|
||||
|
||||
#rooms
|
||||
auto_join_rooms:
|
||||
- "#general:${SERVICE_URL_MATRIX}"
|
||||
- "#general:${SERVICE_FQDN_MATRIX}"
|
||||
|
||||
# federation
|
||||
trusted_key_servers:
|
||||
|
Reference in New Issue
Block a user