Added LDAP Draft for Funkwhale

This commit is contained in:
2025-02-12 12:41:13 +01:00
parent c687b19a6d
commit eaca564c6f
31 changed files with 92 additions and 78 deletions

View File

@@ -19,7 +19,7 @@ services:
- SYNAPSE_SERVER_NAME={{domains.matrix_synapse}}
- SYNAPSE_REPORT_STATS=no
ports:
- "127.0.0.1:{{ports.localhost.http_ports.matrix_synapse}}:8008"
- "127.0.0.1:{{ports.localhost.http.matrix_synapse}}:8008"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8008/"]
interval: 1m
@@ -39,7 +39,7 @@ services:
volumes:
- ./element-config.json:/app/config.json
ports:
- "127.0.0.1:{{ports.localhost.http_ports.matrix_element}}:80"
- "127.0.0.1:{{ports.localhost.http.matrix_element}}:80"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80/"]
interval: 1m

View File

@@ -1,7 +1,7 @@
server {
# Somehow .j2 doesn't interpretate the passed variable right. For this reasons this redeclaration is necessary
{% set domain = domains.matrix_synapse %}
{% set http_port = ports.localhost.http_ports.matrix_synapse %}
{% set http_port = ports.localhost.http.matrix_synapse %}
server_name {{domain}};
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}