Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

61 lines
2.7 KiB

  1. ---
  2. # Enable or disable matrix-element-call deployment
  3. matrix_element_call_enabled: false
  4. # Base path configuration
  5. matrix_element_call_base_path: "{{ matrix_base_data_path }}/element-call"
  6. matrix_element_call_config_path: "{{ matrix_element_call_base_path }}/config"
  7. matrix_element_call_backend_path: "{{ matrix_element_call_base_path }}/backend"
  8. matrix_homeserver_config_path: "{{ matrix_base_data_path }}/synapse/config/homeserver.yaml"
  9. element_web_config_path: "{{ matrix_base_data_path }}/static-files/public/.well-known/matrix/client"
  10. # Docker network configuration
  11. matrix_element_call_container_network: "matrix_element_call_network"
  12. matrix_element_call_container_labels_traefik_additional_response_headers: {}
  13. matrix_element_call_container_additional_networks: [] # No additional networks by default
  14. # Docker images
  15. matrix_element_call_image: "ghcr.io/element-hq/element-call:latest"
  16. matrix_jwt_service_image: "ghcr.io/element-hq/lk-jwt-service:latest-ci"
  17. matrix_livekit_image: "livekit/livekit-server:latest"
  18. redis_image: "redis:6-alpine"
  19. # Ports
  20. matrix_element_call_port: "8093"
  21. matrix_jwt_service_port: "8881"
  22. redis_port: "6379"
  23. # LiveKit configuration
  24. matrix_element_call_livekit_dev_key: "{{ matrix_livekit_dev_key }}" # Must be defined in host_vars
  25. matrix_element_call_livekit_service_url: "wss://sfu.{{ matrix_domain }}:443"
  26. matrix_element_call_livekit_hostname: "sfu.{{ matrix_domain }}"
  27. # jwt configuration
  28. matrix_element_call_jwt_hostname: "sfu-jwt.{{ matrix_domain }}"
  29. # Well-known paths and domains (derived from matrix_domain)
  30. matrix_element_call_domain: "call.{{ matrix_domain }}"
  31. matrix_element_call_well_known_client_path: "{{ matrix_base_data_path }}/static-files/public/.well-known/matrix/client"
  32. matrix_element_call_well_known_element_path: "{{ matrix_base_data_path }}/static-files/public/.well-known/element/element.json"
  33. matrix_element_call_base_url: "https://{{ matrix_element_call_domain }}"
  34. # Redis Configuration for Element Call
  35. redis_hostname: "localhost"
  36. #redis_port: 6379
  37. redis_password: ""
  38. # Traefik Configuration for Element Call
  39. matrix_element_call_container_labels_traefik_enabled: true
  40. matrix_element_call_container_labels_traefik_hostname: "{{ matrix_element_call_domain }}"
  41. matrix_element_call_container_labels_traefik_path_prefix: "/"
  42. matrix_element_call_container_labels_traefik_rule: "Host(`{{ matrix_element_call_container_labels_traefik_hostname }}`)"
  43. matrix_element_call_container_labels_traefik_entrypoints: "websecure"
  44. matrix_element_call_container_labels_traefik_tls_certResolver: "default"
  45. # Additional environment variables for the container
  46. matrix_element_call_environment_variables_additional: {}
  47. # Enable or disable metrics collection
  48. matrix_element_call_metrics_enabled: false
  49. matrix_element_call_metrics_port: 2112