Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(service): swap URL for FQDN on matrix template (#6466)

Nicanor Alexander de la Cruz Caba115a03947f67
diff --git a/templates/compose/matrix.yaml b/templates/compose/matrix.yaml
index a8178d058b..09bd81b545 100644
--- a/templates/compose/matrix.yaml
+++ b/templates/compose/matrix.yaml
@@ -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: