Disable the Web client in the Docker image

This commit is contained in:
kaiyou 2018-02-08 20:43:45 +01:00
parent e174c46a29
commit 914a59cb8c
2 changed files with 3 additions and 4 deletions

View File

@ -94,7 +94,6 @@ variables are available for configuration:
statistics reporting back to the Matrix project which helps us to get funding.
* ``SYNAPSE_NO_TLS``, set this variable to disable TLS in Synapse (use this if
you run your own TLS-capable reverse proxy).
* ``SYNAPSE_WEB_CLIENT``, set this variable to enable the embedded Web client.
* ``SYNAPSE_ENABLE_REGISTRATION``, set this variable to enable registration on
the Synapse instance.
* ``SYNAPSE_ALLOW_GUEST``, set this variable to allow guest joining this server.

View File

@ -12,7 +12,7 @@ tls_fingerprints: []
server_name: "{{ SYNAPSE_SERVER_NAME }}"
pid_file: /homeserver.pid
web_client: {{ "True" if SYNAPSE_WEB_CLIENT else "False" }}
web_client: False
soft_file_limit: 0
## Ports ##
@ -26,7 +26,7 @@ listeners:
tls: true
x_forwarded: false
resources:
- names: [client, webclient]
- names: [client]
compress: true
- names: [federation] # Federation APIs
compress: false
@ -39,7 +39,7 @@ listeners:
x_forwarded: false
resources:
- names: [client, webclient]
- names: [client]
compress: true
- names: [federation]
compress: false