mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 02:45:02 +01:00
Implemented seperate registrations folder
This commit is contained in:
parent
0f0950c0ee
commit
1f41d3a6bc
@ -22,7 +22,13 @@
|
||||
database_name: "{{ item.database_name }}"
|
||||
loop: "{{ bridges }}"
|
||||
|
||||
- name: "create bridge volume folders"
|
||||
- name: "create registrations folder"
|
||||
file:
|
||||
path: "{{docker_compose_instance_directory}}registrations"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: "create bridge folders"
|
||||
file:
|
||||
path: "{{docker_compose_instance_directory}}{{item.bridge_name}}"
|
||||
state: directory
|
||||
|
@ -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' %}
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user