Merge pull request #153 from huguesdk/bugfix/whitespace_in_templates
Fix whitespace in templates
This commit is contained in:
commit
105364f548
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
{
|
{
|
||||||
"m.homeserver": {
|
"m.homeserver": {
|
||||||
"base_url": "{{ matrix_homeserver_url }}"
|
"base_url": "{{ matrix_homeserver_url }}"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
{
|
{
|
||||||
"m.server": "{{ matrix_server_fqn_matrix }}:8448"
|
"m.server": "{{ matrix_server_fqn_matrix }}:8448"
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
|
@ -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,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,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,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,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Matrix Dimension
|
Description=Matrix Dimension
|
||||||
After=docker.service
|
After=docker.service
|
||||||
|
@ -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,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Matrix mailer
|
Description=Matrix mailer
|
||||||
After=docker.service
|
After=docker.service
|
||||||
|
@ -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,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,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,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,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,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,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,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,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,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,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,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,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Matrix Postgres server
|
Description=Matrix Postgres server
|
||||||
After=docker.service
|
After=docker.service
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
|
@ -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,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,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,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,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,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,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,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,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,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,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,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,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,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
# vim:ft=yaml
|
# vim:ft=yaml
|
||||||
|
|
||||||
## Server ##
|
## Server ##
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
|
|
||||||
version: 1
|
version: 1
|
||||||
|
|
||||||
|
@ -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,3 +1,4 @@
|
|||||||
|
#jinja2: lstrip_blocks: "True"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $# -ne 3 ]; then
|
if [ $# -ne 3 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user