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. 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 * ``SYNAPSE_NO_TLS``, set this variable to disable TLS in Synapse (use this if
you run your own TLS-capable reverse proxy). 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 * ``SYNAPSE_ENABLE_REGISTRATION``, set this variable to enable registration on
the Synapse instance. the Synapse instance.
* ``SYNAPSE_ALLOW_GUEST``, set this variable to allow guest joining this server. * ``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 }}" server_name: "{{ SYNAPSE_SERVER_NAME }}"
pid_file: /homeserver.pid pid_file: /homeserver.pid
web_client: {{ "True" if SYNAPSE_WEB_CLIENT else "False" }} web_client: False
soft_file_limit: 0 soft_file_limit: 0
## Ports ## ## Ports ##
@ -26,7 +26,7 @@ listeners:
tls: true tls: true
x_forwarded: false x_forwarded: false
resources: resources:
- names: [client, webclient] - names: [client]
compress: true compress: true
- names: [federation] # Federation APIs - names: [federation] # Federation APIs
compress: false compress: false
@ -39,7 +39,7 @@ listeners:
x_forwarded: false x_forwarded: false
resources: resources:
- names: [client, webclient] - names: [client]
compress: true compress: true
- names: [federation] - names: [federation]
compress: false compress: false