| @@ -4,7 +4,7 @@ on: [push, pull_request] | |||||
| jobs: | jobs: | ||||
| build: | build: | ||||
| runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
| steps: | steps: | ||||
| @@ -18,5 +18,5 @@ jobs: | |||||
| override-deps: | | override-deps: | | ||||
| ansible-lint==5.3.1 | ansible-lint==5.3.1 | ||||
| args: "-x metadata, formatting" | args: "-x metadata, formatting" | ||||
| @@ -2,9 +2,9 @@ | |||||
| **Note**: bridging to [Twitter](https://twitter.com/) can also happen via the [mx-puppet-twitter](configuring-playbook-bridge-mx-puppet-twitter.md) bridge supported by the playbook. | **Note**: bridging to [Twitter](https://twitter.com/) can also happen via the [mx-puppet-twitter](configuring-playbook-bridge-mx-puppet-twitter.md) bridge supported by the playbook. | ||||
| The playbook can install and configure [mautrix-twitter](https://github.com/tulir/mautrix-twitter) for you. | |||||
| The playbook can install and configure [mautrix-twitter](https://github.com/mautrix/twitter) for you. | |||||
| See the project's [documentation](https://github.com/tulir/mautrix-twitter/wiki#usage) to learn what it does and why it might be useful to you. | |||||
| See the project's [documentation](https://github.com/mautrix/twitter) to learn what it does and why it might be useful to you. | |||||
| ```yaml | ```yaml | ||||
| matrix_mautrix_twitter_enabled: true | matrix_mautrix_twitter_enabled: true | ||||
| @@ -13,7 +13,7 @@ matrix_mautrix_twitter_enabled: true | |||||
| ## Set up Double Puppeting | ## Set up Double Puppeting | ||||
| If you'd like to use [Double Puppeting](https://github.com/tulir/mautrix-twitter/wiki/Authentication#double-puppeting) (hint: you most likely do), you have 2 ways of going about it. | |||||
| If you'd like to use [Double Puppeting](https://docs.mau.fi/bridges/general/double-puppeting.html) (hint: you most likely do), you have 2 ways of going about it. | |||||
| ### Method 1: automatically, by enabling Shared Secret Auth | ### Method 1: automatically, by enabling Shared Secret Auth | ||||
| @@ -23,7 +23,7 @@ This is the recommended way of setting up Double Puppeting, as it's easier to ac | |||||
| ### Method 2: manually, by asking each user to provide a working access token | ### Method 2: manually, by asking each user to provide a working access token | ||||
| This method is currently not available for the Mautrix-Twitter bridge, but is on the [roadmap](https://github.com/tulir/mautrix-twitter/blob/master/ROADMAP.md) under Misc/Manual login with `login-matrix` | |||||
| This method is currently not available for the Mautrix-Twitter bridge, but is on the [roadmap](https://github.com/mautrix/twitter/blob/master/ROADMAP.md) under Misc/Manual login with `login-matrix` | |||||
| ## Usage | ## Usage | ||||
| @@ -32,6 +32,4 @@ This method is currently not available for the Mautrix-Twitter bridge, but is on | |||||
| You can learn more here about authentication from the bridge's [official documentation on Authentication](https://docs.mau.fi/bridges/python/twitter/authentication.html). | You can learn more here about authentication from the bridge's [official documentation on Authentication](https://docs.mau.fi/bridges/python/twitter/authentication.html). | ||||
| If you run into trouble, check the [Troubleshooting](#troubleshooting) section below. | |||||
| After successfully enabling bridging, you may wish to [set up Double Puppeting](#set-up-double-puppeting), if you haven't already done so. | After successfully enabling bridging, you may wish to [set up Double Puppeting](#set-up-double-puppeting), if you haven't already done so. | ||||
| @@ -25,6 +25,23 @@ The Dimension administrator users can configure the default URL template. The Di | |||||
| If you wish to disable the Etherpad chat button, you can do it by appending `?showChat=false` to the end of the pad URL, or the template. | If you wish to disable the Etherpad chat button, you can do it by appending `?showChat=false` to the end of the pad URL, or the template. | ||||
| Example: `https://dimension.<your-domain>/etherpad/p/$roomId_$padName?showChat=false` | Example: `https://dimension.<your-domain>/etherpad/p/$roomId_$padName?showChat=false` | ||||
| ### Etherpad Admin access (optional) | |||||
| Etherpad comes with a admin web-UI which is disabled by default. You can enable it by setting a username and password in your configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`): | |||||
| ```yaml | |||||
| matrix_etherpad_admin_username: admin | |||||
| matrix_etherpad_admin_password: some-password | |||||
| ``` | |||||
| The admin web-UI should then be available on: `https://dimension.<your-domain>/etherpad/admin` | |||||
| ### Managing / Deleting old pads | |||||
| If you want to manage and remove old unused pads from Etherpad, you will first need to able Admin access as described above. | |||||
| Then from the plugin manager page (`https://dimension.<your-domain>/etherpad/admin/plugins`), install the `adminpads2` plugin. Once installed, you should have a "Manage pads" section in the Admin web-UI. | |||||
| ## Known issues | ## Known issues | ||||
| If your Etherpad widget fails to load, this might be due to Dimension generating a Pad name so long, the Etherpad app rejects it. | If your Etherpad widget fails to load, this might be due to Dimension generating a Pad name so long, the Etherpad app rejects it. | ||||
| @@ -64,7 +64,7 @@ Once you've followed the [Preparation](#preparation) guide above, you can take a | |||||
| ### Using your own external caddy webserver | ### Using your own external caddy webserver | ||||
| After following the [Preparation](#preparation) guide above, you can take a look at the [examples/caddy](../examples/caddy) directory for a sample configuration. | |||||
| After following the [Preparation](#preparation) guide above, you can take a look at the [examples/caddy](../examples/caddy) directory and [examples/caddy2](../examples/caddy2) directory for a sample configuration for Caddy v1 and v2, respectively. | |||||
| ### Using your own HAproxy reverse proxy | ### Using your own HAproxy reverse proxy | ||||
| After following the [Preparation](#preparation) guide above, you can take a look at the [examples/haproxy](../examples/haproxy) directory for a sample configuration. In this case HAproxy is used as a reverse proxy and a simple Nginx container is used to serve statically `.well-known` files. | After following the [Preparation](#preparation) guide above, you can take a look at the [examples/haproxy](../examples/haproxy) directory for a sample configuration. In this case HAproxy is used as a reverse proxy and a simple Nginx container is used to serve statically `.well-known` files. | ||||
| @@ -46,7 +46,7 @@ These services are not part of our default installation, but can be enabled by [ | |||||
| - [mautrix/facebook](https://mau.dev/mautrix/facebook/container_registry) - the [mautrix-facebook](https://github.com/mautrix/facebook) bridge to [Facebook](https://facebook.com/) (optional) | - [mautrix/facebook](https://mau.dev/mautrix/facebook/container_registry) - the [mautrix-facebook](https://github.com/mautrix/facebook) bridge to [Facebook](https://facebook.com/) (optional) | ||||
| - [tulir/mautrix-twitter](https://mau.dev/mautrix/twitter/container_registry) - the [mautrix-twitter](https://github.com/tulir/mautrix-twitter) bridge to [Twitter](https://twitter.com/) (optional) | |||||
| - [mautrix/twitter](https://mau.dev/mautrix/twitter/container_registry) - the [mautrix-twitter](https://github.com/mautrix/twitter) bridge to [Twitter](https://twitter.com/) (optional) | |||||
| - [mautrix/hangouts](https://mau.dev/mautrix/hangouts/container_registry) - the [mautrix-hangouts](https://github.com/mautrix/hangouts) bridge to [Google Hangouts](https://en.wikipedia.org/wiki/Google_Hangouts) (optional) | - [mautrix/hangouts](https://mau.dev/mautrix/hangouts/container_registry) - the [mautrix-hangouts](https://github.com/mautrix/hangouts) bridge to [Google Hangouts](https://en.wikipedia.org/wiki/Google_Hangouts) (optional) | ||||
| @@ -39,8 +39,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-go-neb \ | |||||
| {{ matrix_bot_go_neb_docker_image }} \ | {{ matrix_bot_go_neb_docker_image }} \ | ||||
| -c "go-neb /config/config.yaml" | -c "go-neb /config/config.yaml" | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-go-neb 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-go-neb 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-go-neb 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-go-neb 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-bot-go-neb | SyslogIdentifier=matrix-bot-go-neb | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-matrix-rem | |||||
| {{ matrix_bot_matrix_reminder_bot_docker_image }} \ | {{ matrix_bot_matrix_reminder_bot_docker_image }} \ | ||||
| -c "matrix-reminder-bot /config/config.yaml" | -c "matrix-reminder-bot /config/config.yaml" | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-matrix-reminder-bot 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-matrix-reminder-bot 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-matrix-reminder-bot 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-matrix-reminder-bot 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-bot-matrix-reminder-bot | SyslogIdentifier=matrix-bot-matrix-reminder-bot | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-mjolnir \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_bot_mjolnir_docker_image }} | {{ matrix_bot_mjolnir_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-mjolnir 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-mjolnir 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-bot-mjolnir 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-bot-mjolnir 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-bot-mjolnir | SyslogIdentifier=matrix-bot-mjolnir | ||||
| @@ -35,8 +35,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-appservice-dis | |||||
| {{ matrix_appservice_discord_docker_image }} \ | {{ matrix_appservice_discord_docker_image }} \ | ||||
| node /build/src/discordas.js -p 9005 -c /cfg/config.yaml -f /cfg/registration.yaml | node /build/src/discordas.js -p 9005 -c /cfg/config.yaml -f /cfg/registration.yaml | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-discord 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-discord 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-discord 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-discord 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-appservice-discord | SyslogIdentifier=matrix-appservice-discord | ||||
| @@ -36,8 +36,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-appservice-irc | |||||
| {{ matrix_appservice_irc_docker_image }} \ | {{ matrix_appservice_irc_docker_image }} \ | ||||
| -c 'node app.js -c /config/config.yaml -f /config/registration.yaml -p 9999' | -c 'node app.js -c /config/config.yaml -f /config/registration.yaml -p 9999' | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-irc 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-irc 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-irc 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-irc 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-appservice-irc | SyslogIdentifier=matrix-appservice-irc | ||||
| @@ -44,7 +44,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Slack Appservice's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Slack Appservice's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-bridge-appservice-slack role. | so that the matrix-nginx-proxy role would run after the matrix-bridge-appservice-slack role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -35,8 +35,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-appservice-sla | |||||
| {{ matrix_appservice_slack_docker_image }} \ | {{ matrix_appservice_slack_docker_image }} \ | ||||
| node app.js -p {{matrix_appservice_slack_matrix_port}} -c /config/config.yaml -f /config/slack-registration.yaml | node app.js -p {{matrix_appservice_slack_matrix_port}} -c /config/config.yaml -f /config/slack-registration.yaml | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-slack 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-slack 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-slack 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-slack 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-appservice-slack | SyslogIdentifier=matrix-appservice-slack | ||||
| @@ -1,15 +1,15 @@ | |||||
| # matrix-appservice-webhooks is a Matrix <-> webhook bridge | # matrix-appservice-webhooks is a Matrix <-> webhook bridge | ||||
| # See: https://github.com/turt2live/matrix-appservice-webhooks | |||||
| # See: https://github.com/redoonetworks/matrix-appservice-webhooks | |||||
| matrix_appservice_webhooks_enabled: true | matrix_appservice_webhooks_enabled: true | ||||
| matrix_appservice_webhooks_container_image_self_build: false | matrix_appservice_webhooks_container_image_self_build: false | ||||
| matrix_appservice_webhooks_container_image_self_build_repo: "https://github.com/turt2live/matrix-appservice-webhooks" | |||||
| matrix_appservice_webhooks_container_image_self_build_repo: "https://github.com/redoonetworks/matrix-appservice-webhooks" | |||||
| matrix_appservice_webhooks_container_image_self_build_repo_version: "{{ 'master' if matrix_appservice_webhooks_version == 'latest' else matrix_appservice_webhooks_version }}" | matrix_appservice_webhooks_container_image_self_build_repo_version: "{{ 'master' if matrix_appservice_webhooks_version == 'latest' else matrix_appservice_webhooks_version }}" | ||||
| matrix_appservice_webhooks_container_image_self_build_repo_dockerfile_path: "Dockerfile" | matrix_appservice_webhooks_container_image_self_build_repo_dockerfile_path: "Dockerfile" | ||||
| matrix_appservice_webhooks_version: latest | matrix_appservice_webhooks_version: latest | ||||
| matrix_appservice_webhooks_docker_image: "{{ matrix_appservice_webhooks_docker_image_name_prefix }}turt2live/matrix-appservice-webhooks:{{ matrix_appservice_webhooks_version }}" | |||||
| matrix_appservice_webhooks_docker_image: "{{ matrix_appservice_webhooks_docker_image_name_prefix }}redoonetworks/matrix-appservice-webhooks:{{ matrix_appservice_webhooks_version }}" | |||||
| matrix_appservice_webhooks_docker_image_name_prefix: "{{ 'localhost/' if matrix_appservice_webhooks_container_image_self_build else matrix_container_global_registry_prefix }}" | matrix_appservice_webhooks_docker_image_name_prefix: "{{ 'localhost/' if matrix_appservice_webhooks_container_image_self_build else matrix_container_global_registry_prefix }}" | ||||
| matrix_appservice_webhooks_docker_image_force_pull: "{{ matrix_appservice_webhooks_docker_image.endswith(':latest') }}" | matrix_appservice_webhooks_docker_image_force_pull: "{{ matrix_appservice_webhooks_docker_image.endswith(':latest') }}" | ||||
| @@ -37,7 +37,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append webhooks Appservice's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append webhooks Appservice's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-bridge-appservice-webhooks role. | so that the matrix-nginx-proxy role would run after the matrix-bridge-appservice-webhooks role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -35,8 +35,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-appservice-web | |||||
| {{ matrix_appservice_webhooks_docker_image }} \ | {{ matrix_appservice_webhooks_docker_image }} \ | ||||
| node index.js -p {{ matrix_appservice_webhooks_matrix_port }} -c /config/config.yaml -f /config/webhooks-registration.yaml | node index.js -p {{ matrix_appservice_webhooks_matrix_port }} -c /config/config.yaml -f /config/webhooks-registration.yaml | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-webhooks 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-webhooks 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-appservice-webhooks 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-appservice-webhooks 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-appservice-webhooks | SyslogIdentifier=matrix-appservice-webhooks | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-beeper-linkedi | |||||
| {{ matrix_beeper_linkedin_docker_image }} \ | {{ matrix_beeper_linkedin_docker_image }} \ | ||||
| python3 -m linkedin_matrix -c /data/config.yaml -r /data/registration.yaml | python3 -m linkedin_matrix -c /data/config.yaml -r /data/registration.yaml | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-beeper-linkedin 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-beeper-linkedin 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-beeper-linkedin 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-beeper-linkedin 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-beeper-linkedin | SyslogIdentifier=matrix-beeper-linkedin | ||||
| @@ -3,7 +3,7 @@ | |||||
| matrix_heisenbridge_enabled: true | matrix_heisenbridge_enabled: true | ||||
| matrix_heisenbridge_version: 1.8.0 | |||||
| matrix_heisenbridge_version: 1.9.0 | |||||
| matrix_heisenbridge_docker_image: "{{ matrix_container_global_registry_prefix }}hif1/heisenbridge:{{ matrix_heisenbridge_version }}" | matrix_heisenbridge_docker_image: "{{ matrix_container_global_registry_prefix }}hif1/heisenbridge:{{ matrix_heisenbridge_version }}" | ||||
| matrix_heisenbridge_docker_image_force_pull: "{{ matrix_heisenbridge_docker_image.endswith(':latest') }}" | matrix_heisenbridge_docker_image_force_pull: "{{ matrix_heisenbridge_docker_image.endswith(':latest') }}" | ||||
| @@ -41,8 +41,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-heisenbridge \ | |||||
| --listen-port 9898 \ | --listen-port 9898 \ | ||||
| {{ matrix_heisenbridge_homeserver_url }} | {{ matrix_heisenbridge_homeserver_url }} | ||||
| ExecStop=-{{ matrix_host_command_docker }} kill matrix-heisenbridge | |||||
| ExecStop=-{{ matrix_host_command_docker }} rm matrix-heisenbridge | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} kill matrix-heisenbridge | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} rm matrix-heisenbridge | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-heisenbridge | SyslogIdentifier=matrix-heisenbridge | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-facebo | |||||
| {{ matrix_mautrix_facebook_docker_image }} \ | {{ matrix_mautrix_facebook_docker_image }} \ | ||||
| python3 -m mautrix_facebook -c /config/config.yaml --no-update | python3 -m mautrix_facebook -c /config/config.yaml --no-update | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-facebook 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-facebook 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-facebook 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-facebook 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mautrix-facebook | SyslogIdentifier=matrix-mautrix-facebook | ||||
| @@ -28,7 +28,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Mautrix googlechat's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Mautrix googlechat's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-bridge-mautrix-googlechat role. | so that the matrix-nginx-proxy role would run after the matrix-bridge-mautrix-googlechat role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-google | |||||
| {{ matrix_mautrix_googlechat_docker_image }} \ | {{ matrix_mautrix_googlechat_docker_image }} \ | ||||
| python3 -m mautrix_googlechat -c /config/config.yaml --no-update | python3 -m mautrix_googlechat -c /config/config.yaml --no-update | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-googlechat 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-googlechat 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-googlechat 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-googlechat 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mautrix-googlechat | SyslogIdentifier=matrix-mautrix-googlechat | ||||
| @@ -28,7 +28,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Mautrix Hangouts's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Mautrix Hangouts's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-bridge-mautrix-hangouts role. | so that the matrix-nginx-proxy role would run after the matrix-bridge-mautrix-hangouts role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -44,8 +44,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-hangou | |||||
| {{ matrix_mautrix_hangouts_docker_image }} \ | {{ matrix_mautrix_hangouts_docker_image }} \ | ||||
| python3 -m mautrix_hangouts -c /config/config.yaml --no-update | python3 -m mautrix_hangouts -c /config/config.yaml --no-update | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-hangouts 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-hangouts 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-hangouts 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-hangouts 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mautrix-hangouts | SyslogIdentifier=matrix-mautrix-hangouts | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-instag | |||||
| {{ matrix_mautrix_instagram_docker_image }} \ | {{ matrix_mautrix_instagram_docker_image }} \ | ||||
| python3 -m mautrix_instagram -c /config/config.yaml --no-update | python3 -m mautrix_instagram -c /config/config.yaml --no-update | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-instagram 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-instagram 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-instagram 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-instagram 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mautrix-instagram | SyslogIdentifier=matrix-mautrix-instagram | ||||
| @@ -30,8 +30,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-signal | |||||
| -v {{ matrix_mautrix_signal_daemon_path }}:/signald:z \ | -v {{ matrix_mautrix_signal_daemon_path }}:/signald:z \ | ||||
| {{ matrix_mautrix_signal_daemon_docker_image }} | {{ matrix_mautrix_signal_daemon_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-signal-daemon 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-signal-daemon 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-signal-daemon 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-signal-daemon 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| @@ -37,8 +37,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-signal | |||||
| {{ matrix_mautrix_signal_docker_image }} \ | {{ matrix_mautrix_signal_docker_image }} \ | ||||
| python3 -m mautrix_signal -c /config/config.yaml --no-update | python3 -m mautrix_signal -c /config/config.yaml --no-update | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-signal 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-signal 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-signal 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-signal 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| @@ -130,3 +130,8 @@ matrix_mautrix_telegram_registration_yaml: | | |||||
| de.sorunome.msc2409.push_ephemeral: true | de.sorunome.msc2409.push_ephemeral: true | ||||
| matrix_mautrix_telegram_registration: "{{ matrix_mautrix_telegram_registration_yaml|from_yaml }}" | matrix_mautrix_telegram_registration: "{{ matrix_mautrix_telegram_registration_yaml|from_yaml }}" | ||||
| # Templates for defining MXID's and displaynames for users and rooms. | |||||
| matrix_mautrix_telegram_username_template: 'telegram_{userid}' | |||||
| matrix_mautrix_telegram_alias_template: 'telegram_{groupname}' | |||||
| matrix_mautrix_telegram_displayname_template: '{displayname} (Telegram)' | |||||
| @@ -28,7 +28,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Mautrix Telegram's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Mautrix Telegram's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-bridge-mautrix-telegram role. | so that the matrix-nginx-proxy role would run after the matrix-bridge-mautrix-telegram role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -69,13 +69,16 @@ appservice: | |||||
| bridge: | bridge: | ||||
| # Localpart template of MXIDs for Telegram users. | # Localpart template of MXIDs for Telegram users. | ||||
| # {userid} is replaced with the user ID of the Telegram user. | # {userid} is replaced with the user ID of the Telegram user. | ||||
| username_template: "telegram_{userid}" | |||||
| # Default: telegram_{userid} | |||||
| username_template: {{ matrix_mautrix_telegram_username_template|to_json }} | |||||
| # Localpart template of room aliases for Telegram portal rooms. | # Localpart template of room aliases for Telegram portal rooms. | ||||
| # {groupname} is replaced with the name part of the public channel/group invite link ( https://t.me/{} ) | # {groupname} is replaced with the name part of the public channel/group invite link ( https://t.me/{} ) | ||||
| alias_template: "telegram_{groupname}" | |||||
| # Default: telegram_{groupname} | |||||
| alias_template: {{ matrix_mautrix_telegram_alias_template|to_json }} | |||||
| # Displayname template for Telegram users. | # Displayname template for Telegram users. | ||||
| # {displayname} is replaced with the display name of the Telegram user. | # {displayname} is replaced with the display name of the Telegram user. | ||||
| displayname_template: "{displayname} (Telegram)" | |||||
| # Default: {displayname} (Telegram) | |||||
| displayname_template: {{ matrix_mautrix_telegram_displayname_template|to_json }} | |||||
| # Set the preferred order of user identifiers which to use in the Matrix puppet display name. | # Set the preferred order of user identifiers which to use in the Matrix puppet display name. | ||||
| # In the (hopefully unlikely) scenario that none of the given keys are found, the numeric user | # In the (hopefully unlikely) scenario that none of the given keys are found, the numeric user | ||||
| @@ -44,8 +44,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-telegr | |||||
| {{ matrix_mautrix_telegram_docker_image }} \ | {{ matrix_mautrix_telegram_docker_image }} \ | ||||
| python3 -m mautrix_telegram -c /config/config.yaml --no-update | python3 -m mautrix_telegram -c /config/config.yaml --no-update | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-telegram 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-telegram 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-telegram 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-telegram 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mautrix-telegram | SyslogIdentifier=matrix-mautrix-telegram | ||||
| @@ -1,10 +1,10 @@ | |||||
| # mautrix-twitter is a Matrix <-> Twitter bridge | # mautrix-twitter is a Matrix <-> Twitter bridge | ||||
| # See: https://github.com/tulir/mautrix-twitter | |||||
| # See: https://github.com/mautrix/twitter | |||||
| matrix_mautrix_twitter_enabled: true | matrix_mautrix_twitter_enabled: true | ||||
| matrix_mautrix_twitter_container_image_self_build: false | matrix_mautrix_twitter_container_image_self_build: false | ||||
| matrix_mautrix_twitter_container_image_self_build_repo: "https://github.com/tulir/mautrix-twitter.git" | |||||
| matrix_mautrix_twitter_container_image_self_build_repo: "https://github.com/mautrix/twitter.git" | |||||
| matrix_mautrix_twitter_version: latest | matrix_mautrix_twitter_version: latest | ||||
| # See: https://mau.dev/tulir/mautrix-twitter/container_registry | # See: https://mau.dev/tulir/mautrix-twitter/container_registry | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-twitte | |||||
| {{ matrix_mautrix_twitter_docker_image }} \ | {{ matrix_mautrix_twitter_docker_image }} \ | ||||
| python3 -m mautrix_twitter -c /config/config.yaml --no-update | python3 -m mautrix_twitter -c /config/config.yaml --no-update | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-twitter 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-twitter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-twitter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-twitter 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mautrix-twitter | SyslogIdentifier=matrix-mautrix-twitter | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-whatsa | |||||
| {{ matrix_mautrix_whatsapp_docker_image }} \ | {{ matrix_mautrix_whatsapp_docker_image }} \ | ||||
| /usr/bin/mautrix-whatsapp -c /config/config.yaml -r /config/registration.yaml | /usr/bin/mautrix-whatsapp -c /config/config.yaml -r /config/registration.yaml | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-whatsapp 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-whatsapp 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-whatsapp 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-whatsapp 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mautrix-whatsapp | SyslogIdentifier=matrix-mautrix-whatsapp | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mx-puppet-disc | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mx_puppet_discord_docker_image }} | {{ matrix_mx_puppet_discord_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-discord 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-discord 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-discord 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-discord 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mx-puppet-discord | SyslogIdentifier=matrix-mx-puppet-discord | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mx-puppet-grou | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mx_puppet_groupme_docker_image }} | {{ matrix_mx_puppet_groupme_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-groupme 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-groupme 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-groupme 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-groupme 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mx-puppet-groupme | SyslogIdentifier=matrix-mx-puppet-groupme | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mx-puppet-inst | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mx_puppet_instagram_docker_image }} | {{ matrix_mx_puppet_instagram_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-instagram 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-instagram 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-instagram 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-instagram 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mx-puppet-instagram | SyslogIdentifier=matrix-mx-puppet-instagram | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mx-puppet-skyp | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mx_puppet_skype_docker_image }} | {{ matrix_mx_puppet_skype_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-skype 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-skype 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-skype 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-skype 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mx-puppet-skype | SyslogIdentifier=matrix-mx-puppet-skype | ||||
| @@ -28,7 +28,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Slack Appservice's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Slack Appservice's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-mx-puppet-slack role. | so that the matrix-nginx-proxy role would run after the matrix-mx-puppet-slack role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -36,8 +36,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mx-puppet-slac | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mx_puppet_slack_docker_image }} | {{ matrix_mx_puppet_slack_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-slack 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-slack 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-slack 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-slack 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mx-puppet-slack | SyslogIdentifier=matrix-mx-puppet-slack | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mx-puppet-stea | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mx_puppet_steam_docker_image }} | {{ matrix_mx_puppet_steam_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-steam 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-steam 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-steam 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-steam 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mx-puppet-steam | SyslogIdentifier=matrix-mx-puppet-steam | ||||
| @@ -28,7 +28,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Twitter Appservice's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Twitter Appservice's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-mx-puppet-twitter role. | so that the matrix-nginx-proxy role would run after the matrix-mx-puppet-twitter role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -36,8 +36,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mx-puppet-twit | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mx_puppet_twitter_docker_image }} | {{ matrix_mx_puppet_twitter_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-twitter 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-twitter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mx-puppet-twitter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mx-puppet-twitter 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mx-puppet-twitter | SyslogIdentifier=matrix-mx-puppet-twitter | ||||
| @@ -35,8 +35,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-sms-bridge \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_sms_bridge_docker_image }} | {{ matrix_sms_bridge_docker_image }} | ||||
| ExecStop=-/usr/bin/docker kill matrix-sms-bridge | |||||
| ExecStop=-/usr/bin/docker rm matrix-sms-bridge | |||||
| ExecStopPost=-/usr/bin/docker kill matrix-sms-bridge | |||||
| ExecStopPost=-/usr/bin/docker rm matrix-sms-bridge | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-sms-bridge | SyslogIdentifier=matrix-sms-bridge | ||||
| @@ -35,8 +35,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-client-element | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_client_element_docker_image }} | {{ matrix_client_element_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-client-element 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-client-element 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-client-element 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-client-element 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-client-element | SyslogIdentifier=matrix-client-element | ||||
| @@ -29,8 +29,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-client-hydroge | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_client_hydrogen_docker_image }} | {{ matrix_client_hydrogen_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-client-hydrogen 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-client-hydrogen 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-client-hydrogen 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-client-hydrogen 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-client-hydrogen | SyslogIdentifier=matrix-client-hydrogen | ||||
| @@ -34,8 +34,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-corporal \ | |||||
| {{ matrix_corporal_docker_image }} \ | {{ matrix_corporal_docker_image }} \ | ||||
| /matrix-corporal -config=/etc/matrix-corporal/config.json | /matrix-corporal -config=/etc/matrix-corporal/config.json | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-corporal 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-corporal 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-corporal 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-corporal 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-corporal | SyslogIdentifier=matrix-corporal | ||||
| @@ -43,8 +43,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-coturn \ | |||||
| {{ matrix_coturn_docker_image }} \ | {{ matrix_coturn_docker_image }} \ | ||||
| -c /turnserver.conf | -c /turnserver.conf | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-coturn 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-coturn 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-coturn 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-coturn 2>/dev/null' | |||||
| # This only reloads certificates (not other configuration). | # This only reloads certificates (not other configuration). | ||||
| # See: https://github.com/coturn/coturn/pull/236 | # See: https://github.com/coturn/coturn/pull/236 | ||||
| @@ -38,8 +38,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-dimension \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_dimension_docker_image }} | {{ matrix_dimension_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-dimension 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-dimension 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-dimension 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-dimension 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-dimension | SyslogIdentifier=matrix-dimension | ||||
| @@ -26,8 +26,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-dynamic-dns \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_dynamic_dns_docker_image }} | {{ matrix_dynamic_dns_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-dynamic-dns 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-dynamic-dns 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-dynamic-dns 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-dynamic-dns 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-dynamic-dns | SyslogIdentifier=matrix-dynamic-dns | ||||
| @@ -24,8 +24,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-email2matrix \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_email2matrix_docker_image }} | {{ matrix_email2matrix_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-email2matrix 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-email2matrix 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-email2matrix 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-email2matrix 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-email2matrix | SyslogIdentifier=matrix-email2matrix | ||||
| @@ -2,7 +2,7 @@ matrix_etherpad_enabled: false | |||||
| matrix_etherpad_base_path: "{{ matrix_base_data_path }}/etherpad" | matrix_etherpad_base_path: "{{ matrix_base_data_path }}/etherpad" | ||||
| matrix_etherpad_version: 1.8.12 | |||||
| matrix_etherpad_version: 1.8.16 | |||||
| matrix_etherpad_docker_image: "{{ matrix_container_global_registry_prefix }}etherpad/etherpad:{{ matrix_etherpad_version }}" | matrix_etherpad_docker_image: "{{ matrix_container_global_registry_prefix }}etherpad/etherpad:{{ matrix_etherpad_version }}" | ||||
| matrix_etherpad_docker_image_force_pull: "{{ matrix_etherpad_docker_image.endswith(':latest') }}" | matrix_etherpad_docker_image_force_pull: "{{ matrix_etherpad_docker_image.endswith(':latest') }}" | ||||
| @@ -41,6 +41,11 @@ matrix_etherpad_database_hostname: 'matrix-postgres' | |||||
| matrix_etherpad_database_port: 5432 | matrix_etherpad_database_port: 5432 | ||||
| matrix_etherpad_database_name: 'matrix_etherpad' | matrix_etherpad_database_name: 'matrix_etherpad' | ||||
| # If a admin username and password is set, the /admin web page will be | |||||
| # available. | |||||
| matrix_etherpad_admin_username: '' | |||||
| matrix_etherpad_admin_password: '' | |||||
| matrix_etherpad_database_connection_string: 'postgres://{{ matrix_etherpad_database_username }}:{{ matrix_etherpad_database_password }}@{{ matrix_etherpad_database_hostname }}:{{ matrix_etherpad_database_port }}/{{ matrix_etherpad_database_name }}' | matrix_etherpad_database_connection_string: 'postgres://{{ matrix_etherpad_database_username }}:{{ matrix_etherpad_database_password }}@{{ matrix_etherpad_database_hostname }}:{{ matrix_etherpad_database_port }}/{{ matrix_etherpad_database_name }}' | ||||
| # Variables configuring the etherpad | # Variables configuring the etherpad | ||||
| @@ -8,7 +8,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Etherpad's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Etherpad's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-etherpad role. | so that the matrix-nginx-proxy role would run after the matrix-etherpad role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -46,6 +46,8 @@ | |||||
| "maxHttpBufferSize": 10000 | "maxHttpBufferSize": 10000 | ||||
| }, | }, | ||||
| "loadTest": false, | "loadTest": false, | ||||
| "dumpOnUncleanExit": false, | |||||
| "indentationOnNewLine": false, | |||||
| "importExportRateLimiting": { | "importExportRateLimiting": { | ||||
| "windowMs": 90000, | "windowMs": 90000, | ||||
| "max": 10 | "max": 10 | ||||
| @@ -69,6 +71,14 @@ | |||||
| "chatAndUsers": false, | "chatAndUsers": false, | ||||
| "lang": "en-gb" | "lang": "en-gb" | ||||
| }, | }, | ||||
| {% if matrix_etherpad_admin_username != "" and matrix_etherpad_admin_password != "" %} | |||||
| "users": { | |||||
| {{ matrix_etherpad_admin_username|to_json }}: { | |||||
| "password": {{ matrix_etherpad_admin_password|to_json }}, | |||||
| "is_admin": true | |||||
| } | |||||
| }, | |||||
| {% endif %} | |||||
| "padShortcutEnabled" : { | "padShortcutEnabled" : { | ||||
| "altF9": true, | "altF9": true, | ||||
| "altC": true, | "altC": true, | ||||
| @@ -101,5 +111,6 @@ | |||||
| } | } | ||||
| ] | ] | ||||
| }, | }, | ||||
| "customLocaleStrings": {} | |||||
| "customLocaleStrings": {}, | |||||
| "enableAdminUITests": false | |||||
| } | } | ||||
| @@ -32,10 +32,10 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-etherpad \ | |||||
| node --experimental-worker src/node/server.js \ | node --experimental-worker src/node/server.js \ | ||||
| --settings /data/settings.json --credentials /data/credentials.json \ | --settings /data/settings.json --credentials /data/credentials.json \ | ||||
| --sessionkey /data/sessionkey.json --apikey /data/apijey.json | --sessionkey /data/sessionkey.json --apikey /data/apijey.json | ||||
| ExecStop=-{{ matrix_host_command_docker }} kill matrix-etherpad | |||||
| ExecStop=-{{ matrix_host_command_docker }} rm matrix-etherpad | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} kill matrix-etherpad | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} rm matrix-etherpad | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-etherpad | SyslogIdentifier=matrix-etherpad | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-grafana \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_grafana_docker_image }} | {{ matrix_grafana_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-grafana 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-grafana 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-grafana 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-grafana 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-grafana | SyslogIdentifier=matrix-grafana | ||||
| @@ -108,37 +108,18 @@ matrix_jitsi_web_container_extra_arguments: [] | |||||
| matrix_jitsi_web_systemd_required_services_list: ['docker.service'] | matrix_jitsi_web_systemd_required_services_list: ['docker.service'] | ||||
| # Some variables controlling the interface of Jitsi Web. | |||||
| # These get applied to `templates/web/interface_config.js.j2`. | |||||
| # | |||||
| # Besides this, you can also use `matrix_jitsi_web_custom_interface_config_extension` | |||||
| # to define any other configuration option. | |||||
| matrix_jitsi_web_interface_config_lang_detection: false | |||||
| matrix_jitsi_web_interface_config_show_jitsi_watermark: true | |||||
| matrix_jitsi_web_interface_config_jitsi_watermark_link: "https://jitsi.org" | |||||
| matrix_jitsi_web_interface_config_show_brand_watermark: false | |||||
| matrix_jitsi_web_interface_config_brand_watermark_link: "" | |||||
| matrix_jitsi_web_interface_config_generate_room_names_on_welcome_page: true | |||||
| matrix_jitsi_web_interface_config_display_welcome_page_content: true | |||||
| matrix_jitsi_web_interface_config_app_name: "Jitsi Meet" | |||||
| matrix_jitsi_web_interface_config_native_app_name: "Jitsi Meet" | |||||
| matrix_jitsi_web_interface_config_provider_name: "Jitsi" | |||||
| matrix_jitsi_web_interface_config_show_powered_by: false | |||||
| matrix_jitsi_web_interface_config_disable_transcription_subtitles: false | |||||
| matrix_jitsi_web_interface_config_show_deep_linking_image: false | |||||
| # Custom configuration to be injected into `interface_config.js`, passed to Jitsi Web. | |||||
| # This configuration gets appended to the final interface configuration that Jitsi Web uses. | |||||
| # Custom configuration to be appended to `interface_config.js`, passed to Jitsi Web. | |||||
| # | # | ||||
| # Note: not to be confused with `matrix_jitsi_web_custom_config_extension`. | # Note: not to be confused with `matrix_jitsi_web_custom_config_extension`. | ||||
| # | # | ||||
| # For interface configuration, the flow is like this: | # For interface configuration, the flow is like this: | ||||
| # - the contents of `templates/web/interface_config.js.j2` is generated (based on various `matrix_jitsi_web_interface_config_*` variables you see in this file) | |||||
| # - a default `interface_config.js` is generated from within the docker image | |||||
| # - the contents of `matrix_jitsi_web_custom_interface_config_extension` is appended and can define new settings or override defaults. | # - the contents of `matrix_jitsi_web_custom_interface_config_extension` is appended and can define new settings or override defaults. | ||||
| # | # | ||||
| # Example: | # Example: | ||||
| # matrix_jitsi_web_custom_interface_config_extension: | | # matrix_jitsi_web_custom_interface_config_extension: | | ||||
| # interfaceConfig.CONNECTION_INDICATOR_AUTO_HIDE_ENABLED = false; | |||||
| # interfaceConfig.LANG_DETECTION = false; | |||||
| # interfaceConfig.SHOW_JITSI_WATERMARK = false; | |||||
| # interfaceConfig.DISABLE_VIDEO_BACKGROUND = true; | # interfaceConfig.DISABLE_VIDEO_BACKGROUND = true; | ||||
| matrix_jitsi_web_custom_interface_config_extension: '' | matrix_jitsi_web_custom_interface_config_extension: '' | ||||
| @@ -40,7 +40,7 @@ | |||||
| mode: 0644 | mode: 0644 | ||||
| with_items: | with_items: | ||||
| - custom-config.js | - custom-config.js | ||||
| - interface_config.js | |||||
| - custom-interface_config.js | |||||
| when: matrix_jitsi_enabled|bool | when: matrix_jitsi_enabled|bool | ||||
| - name: Ensure matrix-jitsi-web.service installed | - name: Ensure matrix-jitsi-web.service installed | ||||
| @@ -54,3 +54,16 @@ | |||||
| - {'old': 'matrix_jitsi_web_interface_config_show_watermark_for_guests', 'new': '<Not applicable anymore>'} | - {'old': 'matrix_jitsi_web_interface_config_show_watermark_for_guests', 'new': '<Not applicable anymore>'} | ||||
| - {'old': 'matrix_jitsi_web_interface_config_invitation_powered_by', 'new': '<Not applicable anymore>'} | - {'old': 'matrix_jitsi_web_interface_config_invitation_powered_by', 'new': '<Not applicable anymore>'} | ||||
| - {'old': 'matrix_jisti_web_interface_config_show_deep_linking_image', 'new': 'matrix_jitsi_web_interface_config_show_deep_linking_image'} | - {'old': 'matrix_jisti_web_interface_config_show_deep_linking_image', 'new': 'matrix_jitsi_web_interface_config_show_deep_linking_image'} | ||||
| - {'old': 'matrix_jitsi_web_interface_config_lang_detection', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_show_jitsi_watermark', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_jitsi_watermark_link', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_show_brand_watermark', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_brand_watermark_link', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_generate_room_names_on_welcome_page', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_display_welcome_page_content', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_app_name', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_native_app_name', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_provider_name', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_show_powered_by', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_disable_transcription_subtitles', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| - {'old': 'matrix_jitsi_web_interface_config_show_deep_linking_image', 'new': '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead'} | |||||
| @@ -23,8 +23,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-jicofo \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_jitsi_jicofo_docker_image }} | {{ matrix_jitsi_jicofo_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jicofo 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jicofo 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jicofo 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jicofo 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-jicofo | SyslogIdentifier=matrix-jitsi-jicofo | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-jvb \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_jitsi_jvb_docker_image }} | {{ matrix_jitsi_jvb_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jvb 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jvb 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-jvb 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-jvb 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-jvb | SyslogIdentifier=matrix-jitsi-jvb | ||||
| @@ -28,8 +28,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-prosody | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_jitsi_prosody_docker_image }} | {{ matrix_jitsi_prosody_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-prosody 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-prosody 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-prosody 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-prosody 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-prosody | SyslogIdentifier=matrix-jitsi-prosody | ||||
| @@ -0,0 +1,3 @@ | |||||
| {{ matrix_jitsi_web_custom_interface_config_extension }} | |||||
| @@ -1,295 +0,0 @@ | |||||
| /* eslint-disable no-unused-vars, no-var, max-len */ | |||||
| /* eslint sort-keys: ["error", "asc", {"caseSensitive": false}] */ | |||||
| var interfaceConfig = { | |||||
| APP_NAME: {{ matrix_jitsi_web_interface_config_app_name|to_json }}, | |||||
| AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)', | |||||
| AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)', | |||||
| /** | |||||
| * A UX mode where the last screen share participant is automatically | |||||
| * pinned. Valid values are the string "remote-only" so remote participants | |||||
| * get pinned but not local, otherwise any truthy value for all participants, | |||||
| * and any falsy value to disable the feature. | |||||
| * | |||||
| * Note: this mode is experimental and subject to breakage. | |||||
| */ | |||||
| AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only', | |||||
| BRAND_WATERMARK_LINK: {{ matrix_jitsi_web_interface_config_brand_watermark_link|to_json }}, | |||||
| CLOSE_PAGE_GUEST_HINT: false, // A html text to be shown to guests on the close page, false disables it | |||||
| /** | |||||
| * Whether the connection indicator icon should hide itself based on | |||||
| * connection strength. If true, the connection indicator will remain | |||||
| * displayed while the participant has a weak connection and will hide | |||||
| * itself after the CONNECTION_INDICATOR_HIDE_TIMEOUT when the connection is | |||||
| * strong. | |||||
| * | |||||
| * @type {boolean} | |||||
| */ | |||||
| CONNECTION_INDICATOR_AUTO_HIDE_ENABLED: true, | |||||
| /** | |||||
| * How long the connection indicator should remain displayed before hiding. | |||||
| * Used in conjunction with CONNECTION_INDICATOR_AUTOHIDE_ENABLED. | |||||
| * | |||||
| * @type {number} | |||||
| */ | |||||
| CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000, | |||||
| /** | |||||
| * If true, hides the connection indicators completely. | |||||
| * | |||||
| * @type {boolean} | |||||
| */ | |||||
| CONNECTION_INDICATOR_DISABLED: false, | |||||
| DEFAULT_BACKGROUND: '#474747', | |||||
| DEFAULT_LOCAL_DISPLAY_NAME: 'me', | |||||
| DEFAULT_LOGO_URL: 'images/watermark.svg', | |||||
| DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster', | |||||
| DEFAULT_WELCOME_PAGE_LOGO_URL: 'images/watermark.svg', | |||||
| DISABLE_DOMINANT_SPEAKER_INDICATOR: false, | |||||
| DISABLE_FOCUS_INDICATOR: false, | |||||
| /** | |||||
| * If true, notifications regarding joining/leaving are no longer displayed. | |||||
| */ | |||||
| DISABLE_JOIN_LEAVE_NOTIFICATIONS: false, | |||||
| /** | |||||
| * If true, presence status: busy, calling, connected etc. is not displayed. | |||||
| */ | |||||
| DISABLE_PRESENCE_STATUS: false, | |||||
| /** | |||||
| * Whether the ringing sound in the call/ring overlay is disabled. If | |||||
| * {@code undefined}, defaults to {@code false}. | |||||
| * | |||||
| * @type {boolean} | |||||
| */ | |||||
| DISABLE_RINGING: false, | |||||
| /** | |||||
| * Whether the speech to text transcription subtitles panel is disabled. | |||||
| * If {@code undefined}, defaults to {@code false}. | |||||
| * | |||||
| * @type {boolean} | |||||
| */ | |||||
| DISABLE_TRANSCRIPTION_SUBTITLES: {{ matrix_jitsi_web_interface_config_disable_transcription_subtitles|to_json }}, | |||||
| /** | |||||
| * Whether or not the blurred video background for large video should be | |||||
| * displayed on browsers that can support it. | |||||
| */ | |||||
| DISABLE_VIDEO_BACKGROUND: false, | |||||
| DISPLAY_WELCOME_FOOTER: true, | |||||
| DISPLAY_WELCOME_PAGE_ADDITIONAL_CARD: false, | |||||
| DISPLAY_WELCOME_PAGE_CONTENT: {{ matrix_jitsi_web_interface_config_display_welcome_page_content|to_json }}, | |||||
| DISPLAY_WELCOME_PAGE_TOOLBAR_ADDITIONAL_CONTENT: false, | |||||
| ENABLE_DIAL_OUT: true, | |||||
| ENABLE_FEEDBACK_ANIMATION: false, // Enables feedback star animation. | |||||
| FILM_STRIP_MAX_HEIGHT: 120, | |||||
| GENERATE_ROOMNAMES_ON_WELCOME_PAGE: {{ matrix_jitsi_web_interface_config_generate_room_names_on_welcome_page|to_json }}, | |||||
| /** | |||||
| * Hide the logo on the deep linking pages. | |||||
| */ | |||||
| HIDE_DEEP_LINKING_LOGO: false, | |||||
| /** | |||||
| * Hide the invite prompt in the header when alone in the meeting. | |||||
| */ | |||||
| HIDE_INVITE_MORE_HEADER: false, | |||||
| INITIAL_TOOLBAR_TIMEOUT: 20000, | |||||
| JITSI_WATERMARK_LINK: {{ matrix_jitsi_web_interface_config_jitsi_watermark_link|to_json }}, | |||||
| LANG_DETECTION: {{ matrix_jitsi_web_interface_config_lang_detection|to_json }}, // Allow i18n to detect the system language | |||||
| LIVE_STREAMING_HELP_LINK: 'https://jitsi.org/live', // Documentation reference for the live streaming feature. | |||||
| LOCAL_THUMBNAIL_RATIO: 16 / 9, // 16:9 | |||||
| /** | |||||
| * Maximum coefficient of the ratio of the large video to the visible area | |||||
| * after the large video is scaled to fit the window. | |||||
| * | |||||
| * @type {number} | |||||
| */ | |||||
| MAXIMUM_ZOOMING_COEFFICIENT: 1.3, | |||||
| /** | |||||
| * Whether the mobile app Jitsi Meet is to be promoted to participants | |||||
| * attempting to join a conference in a mobile Web browser. If | |||||
| * {@code undefined}, defaults to {@code true}. | |||||
| * | |||||
| * @type {boolean} | |||||
| */ | |||||
| MOBILE_APP_PROMO: true, | |||||
| /** | |||||
| * Specify custom URL for downloading android mobile app. | |||||
| */ | |||||
| MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet', | |||||
| /** | |||||
| * Specify custom URL for downloading f droid app. | |||||
| */ | |||||
| MOBILE_DOWNLOAD_LINK_F_DROID: 'https://f-droid.org/en/packages/org.jitsi.meet/', | |||||
| /** | |||||
| * Specify URL for downloading ios mobile app. | |||||
| */ | |||||
| MOBILE_DOWNLOAD_LINK_IOS: 'https://itunes.apple.com/us/app/jitsi-meet/id1165103905', | |||||
| NATIVE_APP_NAME: {{ matrix_jitsi_web_interface_config_native_app_name|to_json }}, | |||||
| // Names of browsers which should show a warning stating the current browser | |||||
| // has a suboptimal experience. Browsers which are not listed as optimal or | |||||
| // unsupported are considered suboptimal. Valid values are: | |||||
| // chrome, chromium, edge, electron, firefox, nwjs, opera, safari | |||||
| OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ], | |||||
| POLICY_LOGO: null, | |||||
| PROVIDER_NAME: {{ matrix_jitsi_web_interface_config_provider_name|to_json }}, | |||||
| /** | |||||
| * If true, will display recent list | |||||
| * | |||||
| * @type {boolean} | |||||
| */ | |||||
| RECENT_LIST_ENABLED: true, | |||||
| REMOTE_THUMBNAIL_RATIO: 1, // 1:1 | |||||
| SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ], | |||||
| SHOW_BRAND_WATERMARK: {{ matrix_jitsi_web_interface_config_show_brand_watermark|to_json }}, | |||||
| /** | |||||
| * Decides whether the chrome extension banner should be rendered on the landing page and during the meeting. | |||||
| * If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s) | |||||
| * being already installed is done before rendering. | |||||
| */ | |||||
| SHOW_CHROME_EXTENSION_BANNER: false, | |||||
| SHOW_DEEP_LINKING_IMAGE: {{ matrix_jitsi_web_interface_config_show_deep_linking_image|to_json }}, | |||||
| SHOW_JITSI_WATERMARK: {{ matrix_jitsi_web_interface_config_show_jitsi_watermark|to_json }}, | |||||
| SHOW_POWERED_BY: {{ matrix_jitsi_web_interface_config_show_powered_by|to_json }}, | |||||
| SHOW_PROMOTIONAL_CLOSE_PAGE: false, | |||||
| /* | |||||
| * If indicated some of the error dialogs may point to the support URL for | |||||
| * help. | |||||
| */ | |||||
| SUPPORT_URL: 'https://community.jitsi.org/', | |||||
| TOOLBAR_ALWAYS_VISIBLE: false, | |||||
| /** | |||||
| * The name of the toolbar buttons to display in the toolbar, including the | |||||
| * "More actions" menu. If present, the button will display. Exceptions are | |||||
| * "livestreaming" and "recording" which also require being a moderator and | |||||
| * some values in config.js to be enabled. Also, the "profile" button will | |||||
| * not display for users with a JWT. | |||||
| * Notes: | |||||
| * - it's impossible to choose which buttons go in the "More actions" menu | |||||
| * - it's impossible to control the placement of buttons | |||||
| * - 'desktop' controls the "Share your screen" button | |||||
| */ | |||||
| TOOLBAR_BUTTONS: [ | |||||
| {% if matrix_jitsi_enable_transcriptions %} | |||||
| 'closedcaptions', | |||||
| {% endif %} | |||||
| {% if matrix_jitsi_enable_recording %} | |||||
| 'recording', | |||||
| {% endif %} | |||||
| 'microphone', 'camera', 'desktop', 'embedmeeting', 'fullscreen', | |||||
| 'fodeviceselection', 'hangup', 'profile', 'chat', | |||||
| 'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand', | |||||
| 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts', | |||||
| 'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone', 'security' | |||||
| ], | |||||
| TOOLBAR_TIMEOUT: 4000, | |||||
| // Browsers, in addition to those which do not fully support WebRTC, that | |||||
| // are not supported and should show the unsupported browser page. | |||||
| UNSUPPORTED_BROWSERS: [], | |||||
| /** | |||||
| * Whether to show thumbnails in filmstrip as a column instead of as a row. | |||||
| */ | |||||
| VERTICAL_FILMSTRIP: true, | |||||
| // Determines how the video would fit the screen. 'both' would fit the whole | |||||
| // screen, 'height' would fit the original video height to the height of the | |||||
| // screen, 'width' would fit the original video width to the width of the | |||||
| // screen respecting ratio. | |||||
| VIDEO_LAYOUT_FIT: 'both', | |||||
| /** | |||||
| * If true, hides the video quality label indicating the resolution status | |||||
| * of the current large video. | |||||
| * | |||||
| * @type {boolean} | |||||
| */ | |||||
| VIDEO_QUALITY_LABEL_DISABLED: false, | |||||
| /** | |||||
| * How many columns the tile view can expand to. The respected range is | |||||
| * between 1 and 5. | |||||
| */ | |||||
| // TILE_VIEW_MAX_COLUMNS: 5, | |||||
| /** | |||||
| * Specify Firebase dynamic link properties for the mobile apps. | |||||
| */ | |||||
| // MOBILE_DYNAMIC_LINK: { | |||||
| // APN: 'org.jitsi.meet', | |||||
| // APP_CODE: 'w2atb', | |||||
| // CUSTOM_DOMAIN: undefined, | |||||
| // IBI: 'com.atlassian.JitsiMeet.ios', | |||||
| // ISI: '1165103905' | |||||
| // }, | |||||
| /** | |||||
| * Specify mobile app scheme for opening the app from the mobile browser. | |||||
| */ | |||||
| // APP_SCHEME: 'org.jitsi.meet', | |||||
| /** | |||||
| * Specify the Android app package name. | |||||
| */ | |||||
| // ANDROID_APP_PACKAGE: 'org.jitsi.meet', | |||||
| /** | |||||
| * Override the behavior of some notifications to remain displayed until | |||||
| * explicitly dismissed through a user action. The value is how long, in | |||||
| * milliseconds, those notifications should remain displayed. | |||||
| */ | |||||
| // ENFORCE_NOTIFICATION_AUTO_DISMISS_TIMEOUT: 15000, | |||||
| // List of undocumented settings | |||||
| /** | |||||
| INDICATOR_FONT_SIZES | |||||
| PHONE_NUMBER_REGEX | |||||
| */ | |||||
| // Allow all above example options to include a trailing comma and | |||||
| // prevent fear when commenting out the last value. | |||||
| // eslint-disable-next-line sort-keys | |||||
| makeJsonParserHappy: 'even if last key had a trailing comma' | |||||
| // No configuration value should follow this line. | |||||
| }; | |||||
| {{ matrix_jitsi_web_custom_interface_config_extension }} | |||||
| /* eslint-enable no-unused-vars, no-var, max-len */ | |||||
| @@ -29,8 +29,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-jitsi-web \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_jitsi_web_docker_image }} | {{ matrix_jitsi_web_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-web 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-web 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-jitsi-web 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-jitsi-web 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-jitsi-web | SyslogIdentifier=matrix-jitsi-web | ||||
| @@ -38,8 +38,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-ma1sd \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_ma1sd_docker_image }} | {{ matrix_ma1sd_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-ma1sd 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-ma1sd 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-ma1sd 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-ma1sd 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-ma1sd | SyslogIdentifier=matrix-ma1sd | ||||
| @@ -27,8 +27,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mailer \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_mailer_docker_image }} | {{ matrix_mailer_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mailer 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mailer 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mailer 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mailer 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-mailer | SyslogIdentifier=matrix-mailer | ||||
| @@ -1,5 +1,5 @@ | |||||
| matrix_nginx_proxy_enabled: true | matrix_nginx_proxy_enabled: true | ||||
| matrix_nginx_proxy_version: 1.21.4-alpine | |||||
| matrix_nginx_proxy_version: 1.21.5-alpine | |||||
| # We use an official nginx image, which we fix-up to run unprivileged. | # We use an official nginx image, which we fix-up to run unprivileged. | ||||
| # An alternative would be an `nginxinc/nginx-unprivileged` image, but | # An alternative would be an `nginxinc/nginx-unprivileged` image, but | ||||
| @@ -37,6 +37,13 @@ | |||||
| -keyout {{ matrix_ssl_certificate_cert_key_path }} \ | -keyout {{ matrix_ssl_certificate_cert_key_path }} \ | ||||
| -out {{ matrix_ssl_certificate_cert_path }} \ | -out {{ matrix_ssl_certificate_cert_path }} \ | ||||
| -days 3650 | -days 3650 | ||||
| become: true | |||||
| become_user: "{{ matrix_user_username }}" | |||||
| when: "not matrix_ssl_certificate_cert_path_stat_result.stat.exists" | when: "not matrix_ssl_certificate_cert_path_stat_result.stat.exists" | ||||
| - name: Adjust SSL certificate file ownership | |||||
| file: | |||||
| path: "{{ item }}" | |||||
| owner: "{{ matrix_user_username }}" | |||||
| group: "{{ matrix_user_groupname }}" | |||||
| with_items: | |||||
| - "{{ matrix_ssl_certificate_cert_key_path }}" | |||||
| - "{{ matrix_ssl_certificate_cert_path }}" | |||||
| @@ -47,8 +47,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-nginx-proxy \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_nginx_proxy_docker_image }} | {{ matrix_nginx_proxy_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-nginx-proxy 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-nginx-proxy 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-nginx-proxy 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-nginx-proxy 2>/dev/null' | |||||
| ExecReload={{ matrix_host_command_docker }} exec matrix-nginx-proxy /usr/sbin/nginx -s reload | ExecReload={{ matrix_host_command_docker }} exec matrix-nginx-proxy /usr/sbin/nginx -s reload | ||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| @@ -21,8 +21,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-postgres-backu | |||||
| --mount type=bind,src={{ matrix_postgres_backup_path }},dst=/backups \ | --mount type=bind,src={{ matrix_postgres_backup_path }},dst=/backups \ | ||||
| {{ matrix_postgres_backup_docker_image_to_use }} | {{ matrix_postgres_backup_docker_image_to_use }} | ||||
| ExecStop=-{{ matrix_host_command_docker }} stop matrix-postgres-backup | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-postgres-backup 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} stop matrix-postgres-backup | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-postgres-backup 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-postgres-backup | SyslogIdentifier=matrix-postgres-backup | ||||
| @@ -36,8 +36,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-postgres \ | |||||
| {{ matrix_postgres_docker_image_to_use }} \ | {{ matrix_postgres_docker_image_to_use }} \ | ||||
| postgres {{ matrix_postgres_process_extra_arguments|join(' ') }} | postgres {{ matrix_postgres_process_extra_arguments|join(' ') }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-postgres 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-postgres 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-postgres 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-postgres 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-postgres | SyslogIdentifier=matrix-postgres | ||||
| @@ -34,8 +34,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-prometheus-nod | |||||
| {{ matrix_prometheus_node_exporter_docker_image }} \ | {{ matrix_prometheus_node_exporter_docker_image }} \ | ||||
| --path.rootfs=/host | --path.rootfs=/host | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-prometheus-node-exporter 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-prometheus-node-exporter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-prometheus-node-exporter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-prometheus-node-exporter 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-prometheus-node-exporter | SyslogIdentifier=matrix-prometheus-node-exporter | ||||
| @@ -30,10 +30,10 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-prometheus-pos | |||||
| -p {{ matrix_prometheus_postgres_exporter_container_http_host_bind_port }}:{{matrix_prometheus_postgres_exporter_port}} \ | -p {{ matrix_prometheus_postgres_exporter_container_http_host_bind_port }}:{{matrix_prometheus_postgres_exporter_port}} \ | ||||
| {% endif %} | {% endif %} | ||||
| --pid=host \ | --pid=host \ | ||||
| {{ matrix_prometheus_postgres_exporter_docker_image }} | |||||
| {{ matrix_prometheus_postgres_exporter_docker_image }} | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-prometheus-postgres-exporter 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-prometheus-postgres-exporter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-prometheus-postgres-exporter 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-prometheus-postgres-exporter 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-prometheus-postgres-exporter | SyslogIdentifier=matrix-prometheus-postgres-exporter | ||||
| @@ -33,8 +33,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-prometheus \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_prometheus_docker_image }} | {{ matrix_prometheus_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-prometheus 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-prometheus 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-prometheus 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-prometheus 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-prometheus | SyslogIdentifier=matrix-prometheus | ||||
| @@ -27,8 +27,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-redis \ | |||||
| {{ matrix_redis_docker_image_to_use }} \ | {{ matrix_redis_docker_image_to_use }} \ | ||||
| redis-server /usr/local/etc/redis/redis.conf | redis-server /usr/local/etc/redis/redis.conf | ||||
| ExecStop=-/usr/bin/docker stop matrix-redis | |||||
| ExecStop=-/usr/bin/docker rm matrix-redis | |||||
| ExecStopPost=-/usr/bin/docker stop matrix-redis | |||||
| ExecStopPost=-/usr/bin/docker rm matrix-redis | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-redis | SyslogIdentifier=matrix-redis | ||||
| @@ -15,7 +15,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append matrix-registration's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append matrix-registration's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-registration role. | so that the matrix-nginx-proxy role would run after the matrix-registration role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-registration \ | |||||
| {{ matrix_registration_docker_image }} \ | {{ matrix_registration_docker_image }} \ | ||||
| serve | serve | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-registration 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-registration 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-registration 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-registration 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-registration | SyslogIdentifier=matrix-registration | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-sygnal \ | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_sygnal_docker_image }} | {{ matrix_sygnal_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-sygnal 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-sygnal 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-sygnal 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-sygnal 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-sygnal | SyslogIdentifier=matrix-sygnal | ||||
| @@ -15,7 +15,7 @@ | |||||
| msg: >- | msg: >- | ||||
| Trying to append Synapse Admin's reverse-proxying configuration to matrix-nginx-proxy, | Trying to append Synapse Admin's reverse-proxying configuration to matrix-nginx-proxy, | ||||
| but it's pointless since the matrix-nginx-proxy role had already executed. | but it's pointless since the matrix-nginx-proxy role had already executed. | ||||
| To fix this, please change the order of roles in your plabook, | |||||
| To fix this, please change the order of roles in your playbook, | |||||
| so that the matrix-nginx-proxy role would run after the matrix-synapse-admin role. | so that the matrix-nginx-proxy role would run after the matrix-synapse-admin role. | ||||
| when: matrix_nginx_proxy_role_executed|default(False)|bool | when: matrix_nginx_proxy_role_executed|default(False)|bool | ||||
| @@ -32,8 +32,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-synapse-admin | |||||
| {% endfor %} | {% endfor %} | ||||
| {{ matrix_synapse_admin_docker_image }} | {{ matrix_synapse_admin_docker_image }} | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-synapse-admin 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-synapse-admin 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-synapse-admin 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-synapse-admin 2>/dev/null' | |||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||
| SyslogIdentifier=matrix-synapse-admin | SyslogIdentifier=matrix-synapse-admin | ||||
| @@ -580,6 +580,8 @@ matrix_synapse_default_room_version: "6" | |||||
| # If not, you can also control its value manually. | # If not, you can also control its value manually. | ||||
| matrix_synapse_spam_checker: [] | matrix_synapse_spam_checker: [] | ||||
| matrix_synapse_encryption_enabled_by_default_for_room_type: off | |||||
| matrix_synapse_trusted_key_servers: | matrix_synapse_trusted_key_servers: | ||||
| - server_name: "matrix.org" | - server_name: "matrix.org" | ||||
| @@ -27,10 +27,10 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name %n \ | |||||
| -c 'goofys -f{% if not matrix_s3_media_store_custom_endpoint_enabled %} --storage-class=STANDARD_IA{% endif %}{% if matrix_s3_media_store_custom_endpoint_enabled %} --endpoint={{ matrix_s3_media_store_custom_endpoint }}{% endif %} --region {{ matrix_s3_media_store_region }} --stat-cache-ttl 60m0s --type-cache-ttl 60m0s --dir-mode 0700 --file-mode 0700 {{ matrix_s3_media_store_bucket_name }} /s3' | -c 'goofys -f{% if not matrix_s3_media_store_custom_endpoint_enabled %} --storage-class=STANDARD_IA{% endif %}{% if matrix_s3_media_store_custom_endpoint_enabled %} --endpoint={{ matrix_s3_media_store_custom_endpoint }}{% endif %} --region {{ matrix_s3_media_store_region }} --stat-cache-ttl 60m0s --type-cache-ttl 60m0s --dir-mode 0700 --file-mode 0700 {{ matrix_s3_media_store_bucket_name }} /s3' | ||||
| TimeoutStartSec=5min | TimeoutStartSec=5min | ||||
| ExecStop=-{{ matrix_host_command_docker }} stop %n | |||||
| ExecStop=-{{ matrix_host_command_docker }} kill %n | |||||
| ExecStop=-{{ matrix_host_command_docker }} rm %n | |||||
| ExecStop=-{{ matrix_host_command_fusermount }} -u {{ matrix_s3_media_store_path }} | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} stop %n | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} kill %n | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} rm %n | |||||
| ExecStopPost=-{{ matrix_host_command_fusermount }} -u {{ matrix_s3_media_store_path }} | |||||
| Restart=always | Restart=always | ||||
| RestartSec=5 | RestartSec=5 | ||||
| SyslogIdentifier=matrix-goofys | SyslogIdentifier=matrix-goofys | ||||
| @@ -2651,7 +2651,7 @@ spam_checker: {{ matrix_synapse_spam_checker|to_json }} | |||||
| # Note that this option will only affect rooms created after it is set. It | # Note that this option will only affect rooms created after it is set. It | ||||
| # will also not affect rooms created by other servers. | # will also not affect rooms created by other servers. | ||||
| # | # | ||||
| #encryption_enabled_by_default_for_room_type: invite | |||||
| encryption_enabled_by_default_for_room_type: {{ matrix_synapse_encryption_enabled_by_default_for_room_type|to_json }} | |||||
| # Uncomment to allow non-server-admin users to create groups on this server | # Uncomment to allow non-server-admin users to create groups on this server | ||||
| @@ -46,8 +46,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name {{ matrix_synapse_wor | |||||
| run -m synapse.app.{{ matrix_synapse_worker_details.type }} -c /data/homeserver.yaml -c /data/{{ matrix_synapse_worker_config_file_name }} | run -m synapse.app.{{ matrix_synapse_worker_details.type }} -c /data/homeserver.yaml -c /data/{{ matrix_synapse_worker_config_file_name }} | ||||
| ExecStop=-{{ matrix_host_command_docker }} kill {{ matrix_synapse_worker_container_name }} | |||||
| ExecStop=-{{ matrix_host_command_docker }} rm {{ matrix_synapse_worker_container_name }} | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} kill {{ matrix_synapse_worker_container_name }} | |||||
| ExecStopPost=-{{ matrix_host_command_docker }} rm {{ matrix_synapse_worker_container_name }} | |||||
| ExecReload={{ matrix_host_command_docker }} exec {{ matrix_synapse_worker_container_name }} /bin/sh -c 'kill -HUP 1' | ExecReload={{ matrix_host_command_docker }} exec {{ matrix_synapse_worker_container_name }} /bin/sh -c 'kill -HUP 1' | ||||
| Restart=always | Restart=always | ||||
| @@ -63,8 +63,8 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-synapse \ | |||||
| {{ matrix_synapse_docker_image }} \ | {{ matrix_synapse_docker_image }} \ | ||||
| run -m synapse.app.homeserver -c /data/homeserver.yaml | run -m synapse.app.homeserver -c /data/homeserver.yaml | ||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-synapse 2>/dev/null' | |||||
| ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-synapse 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-synapse 2>/dev/null' | |||||
| ExecStopPost=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-synapse 2>/dev/null' | |||||
| ExecReload={{ matrix_host_command_docker }} exec matrix-synapse /bin/sh -c 'kill -HUP 1' | ExecReload={{ matrix_host_command_docker }} exec matrix-synapse /bin/sh -c 'kill -HUP 1' | ||||
| Restart=always | Restart=always | ||||
| RestartSec=30 | RestartSec=30 | ||||