Implemented seperate registrations folder

This commit is contained in:
2024-01-15 08:26:05 +01:00
parent 0f0950c0ee
commit 1f41d3a6bc
3 changed files with 10 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ services:
- synapse_data:/data
- ./homeserver.yaml:/data/homeserver.yaml:ro
- ./{{synapse_domain}}.log.config:/data/{{synapse_domain}}.log.config:ro
- registration_files:{{registration_file_folder}}
- ./registrations:{{registration_file_folder}}
environment:
- SYNAPSE_SERVER_NAME={{synapse_domain}}
- SYNAPSE_REPORT_STATS=no
@@ -40,13 +40,12 @@ services:
restart: {{docker_restart_policy}}
volumes:
- ./{{item.bridge_name}}:/data
- registration_files:{{registration_file_folder}}
- ./registrations:{{registration_file_folder}}
{% include 'templates/docker-container-networks.yml.j2' %}
{% endfor %}
{% include 'templates/docker-compose-volumes.yml.j2' %}
synapse_data:
registration_files:
{% include 'templates/docker-compose-networks.yml.j2' %}

View File

@@ -419,7 +419,7 @@ bridge:
prefix: /_matrix/provision
# Shared secret for authentication. If set to "generate", a random secret will be generated,
# or if set to "disable", the provisioning API will be disabled.
shared_secret: {{mautrix_whatsapp_bridge_provisioning_shared_secret}}
shared_secret: generate
# Enable debug API at /debug with provisioning authentication.
debug_endpoints: false