roles/synapse: fix mistakes
This commit is contained in:
parent
4144a0647e
commit
f29eae7f1e
@ -24,11 +24,11 @@ http://{{ navidrome_domain }} {
|
||||
{% endif %}
|
||||
|
||||
{% if groups["synapse"] | length > 0 %}
|
||||
http://{{ synapse_domain }} {
|
||||
http://{{ matrix_domain }} {
|
||||
reverse_proxy /_matrix/* {{ groups["synapse"][0] }}:8008
|
||||
reverse_proxy /_synapse/client/* {{ groups["synapse"][0] }}:8008
|
||||
}
|
||||
{{ synapse_domain }}:8448 {
|
||||
{{ matrix_domain }}:8448 {
|
||||
reverse_proxy /_matrix/* {{ groups["synapse"][0] }}:8008
|
||||
}
|
||||
{% endif %}
|
||||
|
@ -70,16 +70,14 @@ services:
|
||||
image: matrixdotorg/synapse:latest
|
||||
user: {{ user_synapse.uid }}:{{ user_synapse.group }}
|
||||
environment:
|
||||
SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
||||
SYNAPSE_CONFIG_PATH: /data/homeserver.yaml
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "{{ dataroot }}/synapse/uploads:/data/uploads"
|
||||
- "{{ dataroot }}/synapse/media:/data/media"
|
||||
- "{{ dataroot }}/synapse/media_store:/data/media_store"
|
||||
- "{{ dataroot }}/synapse/data:/data"
|
||||
networks:
|
||||
- navidrome
|
||||
ports:
|
||||
- "8448:8448/tcp"
|
||||
- "8008:8008/tcp"
|
||||
|
||||
{% endif %}
|
||||
|
@ -14,8 +14,7 @@
|
||||
mode: "u=rwX,g=,o="
|
||||
with_items:
|
||||
- "{{ dataroot }}/synapse/data"
|
||||
- "{{ dataroot }}/synapse/uploads"
|
||||
- "{{ dataroot }}/synapse/media"
|
||||
- "{{ dataroot }}/synapse/media_store"
|
||||
|
||||
- name: Deploy Synapse config
|
||||
template:
|
||||
@ -25,6 +24,6 @@
|
||||
|
||||
- name: Deploy Synapse logging config
|
||||
template:
|
||||
src: homeserver.yaml.j2
|
||||
src: log.config.j2
|
||||
dest: "{{ dataroot }}/synapse/data/log.config"
|
||||
lstrip_blocks: yes
|
||||
|
Loading…
Reference in New Issue
Block a user