Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

34 wiersze
917 B

  1. #jinja2: lstrip_blocks: "True"
  2. worker_app: synapse.app.{{ item.type }}
  3. worker_name: {{ item.type ~ ':' ~ item.port }}
  4. worker_replication_host: 127.0.0.1
  5. worker_replication_http_port: {{ matrix_synapse_replication_http_port }}
  6. worker_listeners:
  7. {% if item.type not in [ 'appservice', 'federation_sender', 'pusher' ] %}
  8. - type: http
  9. port: {{ item.port }}
  10. resources:
  11. - names:
  12. {% if item.type in [ 'generic_worker', 'frontend_proxy', 'user_dir' ] %}
  13. - client
  14. {% endif %}
  15. {% if item.type in [ 'generic_worker' ] %}
  16. - federation
  17. {% elif item.type in [ 'media_repository' ] %}
  18. - media
  19. {% endif %}
  20. {% endif %}
  21. - type: metrics
  22. bind_address: ['127.0.0.1']
  23. port: {{ item.metrics_port }}
  24. {% if item.type == 'frontend_proxy' %}
  25. worker_main_http_uri: http://127.0.0.1:8008
  26. {% endif %}
  27. worker_daemonize: false
  28. worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config