mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Implemented seperate registrations folder
This commit is contained in:
parent
0f0950c0ee
commit
1f41d3a6bc
@ -22,7 +22,13 @@
|
|||||||
database_name: "{{ item.database_name }}"
|
database_name: "{{ item.database_name }}"
|
||||||
loop: "{{ bridges }}"
|
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:
|
file:
|
||||||
path: "{{docker_compose_instance_directory}}{{item.bridge_name}}"
|
path: "{{docker_compose_instance_directory}}{{item.bridge_name}}"
|
||||||
state: directory
|
state: directory
|
||||||
|
@ -14,7 +14,7 @@ services:
|
|||||||
- synapse_data:/data
|
- synapse_data:/data
|
||||||
- ./homeserver.yaml:/data/homeserver.yaml:ro
|
- ./homeserver.yaml:/data/homeserver.yaml:ro
|
||||||
- ./{{synapse_domain}}.log.config:/data/{{synapse_domain}}.log.config:ro
|
- ./{{synapse_domain}}.log.config:/data/{{synapse_domain}}.log.config:ro
|
||||||
- registration_files:{{registration_file_folder}}
|
- ./registrations:{{registration_file_folder}}
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_SERVER_NAME={{synapse_domain}}
|
- SYNAPSE_SERVER_NAME={{synapse_domain}}
|
||||||
- SYNAPSE_REPORT_STATS=no
|
- SYNAPSE_REPORT_STATS=no
|
||||||
@ -40,13 +40,12 @@ services:
|
|||||||
restart: {{docker_restart_policy}}
|
restart: {{docker_restart_policy}}
|
||||||
volumes:
|
volumes:
|
||||||
- ./{{item.bridge_name}}:/data
|
- ./{{item.bridge_name}}:/data
|
||||||
- registration_files:{{registration_file_folder}}
|
- ./registrations:{{registration_file_folder}}
|
||||||
|
|
||||||
{% include 'templates/docker-container-networks.yml.j2' %}
|
{% include 'templates/docker-container-networks.yml.j2' %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% include 'templates/docker-compose-volumes.yml.j2' %}
|
{% include 'templates/docker-compose-volumes.yml.j2' %}
|
||||||
synapse_data:
|
synapse_data:
|
||||||
registration_files:
|
|
||||||
|
|
||||||
{% include 'templates/docker-compose-networks.yml.j2' %}
|
{% include 'templates/docker-compose-networks.yml.j2' %}
|
@ -419,7 +419,7 @@ bridge:
|
|||||||
prefix: /_matrix/provision
|
prefix: /_matrix/provision
|
||||||
# Shared secret for authentication. If set to "generate", a random secret will be generated,
|
# 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.
|
# 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.
|
# Enable debug API at /debug with provisioning authentication.
|
||||||
debug_endpoints: false
|
debug_endpoints: false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user