Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
overmind
/
matrix-docker-ansible-deploy
зеркало из
https://github.com/spantaleev/matrix-docker-ansible-deploy
Следить
1
В избранное
0
Форкнуть
0
Код
Задачи
0
Релизы
0
Вики
Активность
Просмотр исходного кода
Merge pull request
#153
from huguesdk/bugfix/whitespace_in_templates
Fix whitespace in templates
pull/167/head
Slavi Pantaleev
6 лет назад
committed by
GitHub
Родитель
0e7310fd7c
c451025134
Сommit
105364f548
Не найден GPG ключ соответствующий данной подписи
Идентификатор GPG ключа:
4AEE18F83AFDEB23
43 измененных файлов
:
43 добавлений
и
0 удалений
Единый вид
Опции Diff
Показать статистику
Скачать Patch файл
Скачать Diff файл
+1
-0
roles/matrix-base/templates/static-files/well-known/matrix-client.j2
+1
-0
roles/matrix-base/templates/static-files/well-known/matrix-server.j2
+1
-0
roles/matrix-base/templates/usr-local-bin/matrix-remove-all.j2
+1
-0
roles/matrix-corporal/templates/config.json.j2
+1
-0
roles/matrix-corporal/templates/systemd/matrix-corporal.service.j2
+1
-0
roles/matrix-coturn/templates/systemd/matrix-coturn.service.j2
+1
-0
roles/matrix-coturn/templates/turnserver.conf.j2
+1
-0
roles/matrix-dimension/templates/systemd/matrix-dimension.service.j2
+1
-0
roles/matrix-mailer/templates/env-mailer.j2
+1
-0
roles/matrix-mailer/templates/systemd/matrix-mailer.service.j2
+1
-0
roles/matrix-mxisd/templates/systemd/matrix-mxisd.service.j2
+1
-0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-dimension.conf.j2
+1
-0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-domain.conf.j2
+1
-0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2
+1
-0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2
+1
-0
roles/matrix-nginx-proxy/templates/nginx/conf.d/nginx-http.conf.j2
+1
-0
roles/matrix-nginx-proxy/templates/nginx/matrix-synapse-metrics-htpasswd.j2
+1
-0
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2
+1
-0
roles/matrix-nginx-proxy/templates/systemd/matrix-nginx-proxy.service.j2
+1
-0
roles/matrix-nginx-proxy/templates/usr-local-bin/matrix-ssl-lets-encrypt-certificates-renew.j2
+1
-0
roles/matrix-postgres/templates/env-postgres-psql.j2
+1
-0
roles/matrix-postgres/templates/env-postgres-server.j2
+1
-0
roles/matrix-postgres/templates/systemd/matrix-postgres.service.j2
+1
-0
roles/matrix-postgres/templates/usr-local-bin/matrix-make-user-admin.j2
+1
-0
roles/matrix-postgres/templates/usr-local-bin/matrix-postgres-cli.j2
+1
-0
roles/matrix-postgres/templates/usr-local-bin/matrix-postgres-update-user-password-hash.j2
+1
-0
roles/matrix-riot-web/templates/config.json.j2
+1
-0
roles/matrix-riot-web/templates/nginx.conf.j2
+1
-0
roles/matrix-riot-web/templates/systemd/matrix-riot-web.service.j2
+1
-0
roles/matrix-riot-web/templates/welcome.html.j2
+1
-0
roles/matrix-synapse/templates/ext/appservice-discord/systemd/matrix-appservice-discord.service.j2
+1
-0
roles/matrix-synapse/templates/ext/appservice-irc/systemd/matrix-appservice-irc.service.j2
+1
-0
roles/matrix-synapse/templates/ext/mautrix-telegram/config.yaml.j2
+1
-0
roles/matrix-synapse/templates/ext/mautrix-telegram/systemd/matrix-mautrix-telegram.service.j2
+1
-0
roles/matrix-synapse/templates/ext/mautrix-whatsapp/config.yaml.j2
+1
-0
roles/matrix-synapse/templates/ext/mautrix-whatsapp/systemd/matrix-mautrix-whatsapp.service.j2
+1
-0
roles/matrix-synapse/templates/goofys/env-goofys.j2
+1
-0
roles/matrix-synapse/templates/goofys/systemd/matrix-goofys.service.j2
+1
-0
roles/matrix-synapse/templates/synapse/env-synapse.j2
+1
-0
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2
+1
-0
roles/matrix-synapse/templates/synapse/synapse.log.config.j2
+1
-0
roles/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2
+1
-0
roles/matrix-synapse/templates/synapse/usr-local-bin/matrix-synapse-register-user.j2
+ 1
- 0
roles/matrix-base/templates/static-files/well-known/matrix-client.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
{
{
"m.homeserver": {
"m.homeserver": {
"base_url": "{{ matrix_homeserver_url }}"
"base_url": "{{ matrix_homeserver_url }}"
+ 1
- 0
roles/matrix-base/templates/static-files/well-known/matrix-server.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
{
{
"m.server": "{{ matrix_server_fqn_matrix }}:8448"
"m.server": "{{ matrix_server_fqn_matrix }}:8448"
}
}
+ 1
- 0
roles/matrix-base/templates/usr-local-bin/matrix-remove-all.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
if [ "$(id -u)" != "0" ]; then
+ 1
- 0
roles/matrix-corporal/templates/config.json.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
{
{
"Matrix": {
"Matrix": {
"HomeserverDomainName": "{{ matrix_corporal_matrix_homeserver_domain_name }}",
"HomeserverDomainName": "{{ matrix_corporal_matrix_homeserver_domain_name }}",
+ 1
- 0
roles/matrix-corporal/templates/systemd/matrix-corporal.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Corporal
Description=Matrix Corporal
{% for service in matrix_corporal_systemd_required_services_list %}
{% for service in matrix_corporal_systemd_required_services_list %}
+ 1
- 0
roles/matrix-coturn/templates/systemd/matrix-coturn.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Coturn server
Description=Matrix Coturn server
{% for service in matrix_coturn_systemd_required_services_list %}
{% for service in matrix_coturn_systemd_required_services_list %}
+ 1
- 0
roles/matrix-coturn/templates/turnserver.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
use-auth-secret
use-auth-secret
static-auth-secret={{ matrix_coturn_turn_static_auth_secret }}
static-auth-secret={{ matrix_coturn_turn_static_auth_secret }}
realm=turn.{{ matrix_server_fqn_matrix }}
realm=turn.{{ matrix_server_fqn_matrix }}
+ 1
- 0
roles/matrix-dimension/templates/systemd/matrix-dimension.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Dimension
Description=Matrix Dimension
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-mailer/templates/env-mailer.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
{% if matrix_mailer_relay_use %}
{% if matrix_mailer_relay_use %}
SMARTHOST={{ matrix_mailer_relay_host_name }}::{{ matrix_mailer_relay_host_port }}
SMARTHOST={{ matrix_mailer_relay_host_name }}::{{ matrix_mailer_relay_host_port }}
{% endif %}
{% endif %}
+ 1
- 0
roles/matrix-mailer/templates/systemd/matrix-mailer.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix mailer
Description=Matrix mailer
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-mxisd/templates/systemd/matrix-mxisd.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix mxisd Identity server
Description=Matrix mxisd Identity server
{% for service in matrix_mxisd_systemd_required_services_list %}
{% for service in matrix_mxisd_systemd_required_services_list %}
+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-dimension.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
server {
server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
server_name {{ matrix_nginx_proxy_proxy_dimension_hostname }};
server_name {{ matrix_nginx_proxy_proxy_dimension_hostname }};
+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-domain.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
server {
server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
server_name {{ matrix_nginx_proxy_base_domain_hostname }};
server_name {{ matrix_nginx_proxy_base_domain_hostname }};
+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
server {
server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
server_name {{ matrix_nginx_proxy_proxy_riot_hostname }};
server_name {{ matrix_nginx_proxy_proxy_riot_hostname }};
+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
server {
server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
server_name {{ matrix_nginx_proxy_proxy_matrix_hostname }};
server_name {{ matrix_nginx_proxy_proxy_matrix_hostname }};
+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/nginx-http.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
# The default is aligned to the CPU's cache size,
# The default is aligned to the CPU's cache size,
# which can sometimes be too low to handle our 2 vhosts (Synapse and Riot).
# which can sometimes be too low to handle our 2 vhosts (Synapse and Riot).
#
#
+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/matrix-synapse-metrics-htpasswd.j2
Просмотреть файл
@@ -1,2 +1,3 @@
#jinja2: lstrip_blocks: "True"
# User and password for protecting /_synapse/metrics URI
# User and password for protecting /_synapse/metrics URI
prometheus:{{ matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_key }}
prometheus:{{ matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_key }}
+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
# This is a custom nginx configuration file that we use in the container (instead of the default one),
# This is a custom nginx configuration file that we use in the container (instead of the default one),
# because it allows us to run nginx with a non-root user.
# because it allows us to run nginx with a non-root user.
#
#
+ 1
- 0
roles/matrix-nginx-proxy/templates/systemd/matrix-nginx-proxy.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix nginx-proxy server
Description=Matrix nginx-proxy server
{% for service in matrix_nginx_proxy_systemd_required_services_list %}
{% for service in matrix_nginx_proxy_systemd_required_services_list %}
+ 1
- 0
roles/matrix-nginx-proxy/templates/usr-local-bin/matrix-ssl-lets-encrypt-certificates-renew.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
#!/bin/bash
# For renewal to work, matrix-nginx-proxy (or another webserver, if matrix-nginx-proxy is disabled)
# For renewal to work, matrix-nginx-proxy (or another webserver, if matrix-nginx-proxy is disabled)
+ 1
- 0
roles/matrix-postgres/templates/env-postgres-psql.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
PGUSER={{ matrix_postgres_connection_username }}
PGUSER={{ matrix_postgres_connection_username }}
PGPASSWORD={{ matrix_postgres_connection_password }}
PGPASSWORD={{ matrix_postgres_connection_password }}
PGDATABASE={{ matrix_postgres_db_name }}
PGDATABASE={{ matrix_postgres_db_name }}
+ 1
- 0
roles/matrix-postgres/templates/env-postgres-server.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
POSTGRES_USER={{ matrix_postgres_connection_username }}
POSTGRES_USER={{ matrix_postgres_connection_username }}
POSTGRES_PASSWORD={{ matrix_postgres_connection_password }}
POSTGRES_PASSWORD={{ matrix_postgres_connection_password }}
POSTGRES_DB={{ matrix_postgres_db_name }}
POSTGRES_DB={{ matrix_postgres_db_name }}
+ 1
- 0
roles/matrix-postgres/templates/systemd/matrix-postgres.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Postgres server
Description=Matrix Postgres server
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-postgres/templates/usr-local-bin/matrix-make-user-admin.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
#!/bin/bash
if [ $# -ne 1 ]; then
if [ $# -ne 1 ]; then
+ 1
- 0
roles/matrix-postgres/templates/usr-local-bin/matrix-postgres-cli.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
#!/bin/bash
docker run \
docker run \
+ 1
- 0
roles/matrix-postgres/templates/usr-local-bin/matrix-postgres-update-user-password-hash.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
#!/bin/bash
if [ $# -ne 2 ]; then
if [ $# -ne 2 ]; then
+ 1
- 0
roles/matrix-riot-web/templates/config.json.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
{
{
"default_hs_url": {{ matrix_riot_web_default_hs_url|string|to_json }},
"default_hs_url": {{ matrix_riot_web_default_hs_url|string|to_json }},
"default_is_url": {{ matrix_riot_web_default_is_url|string|to_json }},
"default_is_url": {{ matrix_riot_web_default_is_url|string|to_json }},
+ 1
- 0
roles/matrix-riot-web/templates/nginx.conf.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
# This is a custom nginx configuration file that we use in the container (instead of the default one),
# This is a custom nginx configuration file that we use in the container (instead of the default one),
# because it allows us to run nginx with a non-root user.
# because it allows us to run nginx with a non-root user.
#
#
+ 1
- 0
roles/matrix-riot-web/templates/systemd/matrix-riot-web.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix riot-web server
Description=Matrix riot-web server
{% for service in matrix_riot_web_systemd_required_services_list %}
{% for service in matrix_riot_web_systemd_required_services_list %}
+ 1
- 0
roles/matrix-riot-web/templates/welcome.html.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
<style type="text/css">
<style type="text/css">
/* we deliberately inline style here to avoid flash-of-CSS problems, and to avoid
/* we deliberately inline style here to avoid flash-of-CSS problems, and to avoid
+ 1
- 0
roles/matrix-synapse/templates/ext/appservice-discord/systemd/matrix-appservice-discord.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Appservice Discord server
Description=Matrix Appservice Discord server
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-synapse/templates/ext/appservice-irc/systemd/matrix-appservice-irc.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Appservice IRC server
Description=Matrix Appservice IRC server
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-synapse/templates/ext/mautrix-telegram/config.yaml.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
# Homeserver details
# Homeserver details
homeserver:
homeserver:
# The address that this appservice can use to connect to the homeserver.
# The address that this appservice can use to connect to the homeserver.
+ 1
- 0
roles/matrix-synapse/templates/ext/mautrix-telegram/systemd/matrix-mautrix-telegram.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Mautrix Telegram server
Description=Matrix Mautrix Telegram server
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-synapse/templates/ext/mautrix-whatsapp/config.yaml.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
# Homeserver details.
# Homeserver details.
homeserver:
homeserver:
# The address that this appservice can use to connect to the homeserver.
# The address that this appservice can use to connect to the homeserver.
+ 1
- 0
roles/matrix-synapse/templates/ext/mautrix-whatsapp/systemd/matrix-mautrix-whatsapp.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Mautrix Whatsapp server
Description=Matrix Mautrix Whatsapp server
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-synapse/templates/goofys/env-goofys.j2
Просмотреть файл
@@ -1,2 +1,3 @@
#jinja2: lstrip_blocks: "True"
AWS_ACCESS_KEY={{ matrix_s3_media_store_aws_access_key }}
AWS_ACCESS_KEY={{ matrix_s3_media_store_aws_access_key }}
AWS_SECRET_KEY={{ matrix_s3_media_store_aws_secret_key }}
AWS_SECRET_KEY={{ matrix_s3_media_store_aws_secret_key }}
+ 1
- 0
roles/matrix-synapse/templates/goofys/systemd/matrix-goofys.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Matrix Goofys media store
Description=Matrix Goofys media store
After=docker.service
After=docker.service
+ 1
- 0
roles/matrix-synapse/templates/synapse/env-synapse.j2
Просмотреть файл
@@ -1,2 +1,3 @@
#jinja2: lstrip_blocks: "True"
SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
SYNAPSE_CACHE_FACTOR={{ matrix_synapse_cache_factor }}
SYNAPSE_CACHE_FACTOR={{ matrix_synapse_cache_factor }}
+ 1
- 0
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
# vim:ft=yaml
# vim:ft=yaml
## Server ##
## Server ##
+ 1
- 0
roles/matrix-synapse/templates/synapse/synapse.log.config.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
version: 1
version: 1
+ 1
- 0
roles/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
[Unit]
Description=Synapse server
Description=Synapse server
{% for service in matrix_synapse_systemd_required_services_list %}
{% for service in matrix_synapse_systemd_required_services_list %}
+ 1
- 0
roles/matrix-synapse/templates/synapse/usr-local-bin/matrix-synapse-register-user.j2
Просмотреть файл
@@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
#!/bin/bash
if [ $# -ne 3 ]; then
if [ $# -ne 3 ]; then
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить