This commit is contained in:
Slavi Pantaleev 2024-11-21 16:37:01 +02:00
parent 79ae704a24
commit fa4ebd2a64
3 changed files with 8 additions and 10 deletions

View File

@ -6064,14 +6064,10 @@ matrix_element_call_container_labels_traefik_tls_certResolver: "{{ traefik_certR
livekit_server_enabled: "{{ matrix_element_call_enabled }}"
livekit_server_scheme: "https"
livekit_server_hostname: "sfu.{{ matrix_domain }}" # Default hostname; should be overridden in host_vars if different
livekit_server_path_prefix: "/"
livekit_server_base_path: "{{ matrix_base_data_path }}/livekit-server"
livekit_server_container_image: "livekit/livekit-server:{{ livekit_server_version }}"
livekit_server_container_image_force_pull: true
livekit_server_hostname: "sfu.{{ matrix_domain }}"
livekit_server_container_image_self_build: "{{ matrix_architecture not in ['arm64', 'amd64'] }}"
# Docker network configuration for Livekit
livekit_server_container_network: "{{ matrix_addons_container_network }}"
livekit_server_container_additional_networks_auto: "{{ [matrix_playbook_reverse_proxyable_services_additional_network] if (livekit_server_container_labels_traefik_enabled and matrix_playbook_reverse_proxyable_services_additional_network) else [] }}"
@ -6081,8 +6077,6 @@ matrix_livekit_container_labels_traefik_docker_network: "{{ matrix_playbook_reve
livekit_server_container_labels_traefik_entrypoints: "{{ traefik_entrypoint_primary }}"
livekit_server_container_labels_traefik_tls_certResolver: "{{ traefik_certResolver_primary }}"
# LiveKit Service Configuration
livekit_server_livekit_dev_key: "{{ livekit_server_dev_key }}" # LiveKit dev key
########################################################################
# #

View File

@ -10,6 +10,9 @@ livekit_server_base_path: "{{ matrix_base_data_path }}/livekit-server"
# renovate: datasource=docker depName=livekit/livekit-server
livekit_server_version: v1.8.0
livekit_server_hostname: ""
livekit_server_path_prefix: "/"
# Docker network configuration
livekit_server_container_network: ''
livekit_server_container_http_host_bind_port: ''
@ -23,7 +26,7 @@ livekit_server_container_repo: "https://github.com/livekit/livekit.git"
livekit_server_container_repo_version: "{{ 'main' if livekit_server_version == 'latest' else livekit_server_version }}"
livekit_server_container_src_files_path: "{{ livekit_server_base_path }}/container-src"
livekit_server_container_image: "livekit/livekit-server:latest"
livekit_server_container_image: "{{ livekit_server_container_image_name_prefix }}livekit/livekit-server:{{ livekit_server_version }}"
livekit_server_container_image_name_prefix: "{{ 'localhost/' if livekit_server_container_image_self_build else 'docker.io/' }}"
livekit_server_container_image_force_pull: "{{ livekit_server_container_image.endswith(':latest') }}"

View File

@ -7,6 +7,7 @@
You need to define a required configuration setting (`{{ item.name }}`).
when: "item.when | bool and vars[item.name] == ''"
with_items:
- {'name': 'livekit_server_hostname', when: true}
- {'name': 'livekit_server_base_path', when: true}
- {'name': 'livekit_server_container_network', when: true}
- {'name': 'livekit_server_container_image', when: true}