lab-ansible/roles/apps/templates/compose-files/jitsi.yml.j2

79 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-02-10 21:36:48 +00:00
{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
services:
meet:
image: jitsi/web:{{ apps_vars.jitsi.version }}
restart: always
environment:
DISABLE_HTTPS: 1
PUBLIC_URL: {{ apps_vars.jitsi.domain }}
ENABLE_AUTH: 1
ENABLE_GUESTS: 1
networks:
meet.jitsi:
{{ apps_shared_docker_network }}:
aliases:
- jitsi
volumes:
- "./data/web/transcripts:/usr/share/jitsi-meet/transcripts:rw"
depends_on:
- jvb
prosody:
image: jitsi/prosody:{{ apps_vars.jitsi.version }}
restart: always
environment:
JICOFO_AUTH_PASSWORD: {{ jitsi_passwords.jicofo_auth }}
JVB_AUTH_PASSWORD: {{ jitsi_passwords.jvb_auth }}
ENABLE_AUTH: 1
ENABLE_GUESTS: 1
AUTH_TYPE: internal
networks:
meet.jitsi:
aliases:
- xmpp.meet.jitsi
volumes:
- "./data/prosody/plugins:/prosody-plugins-custom:rw"
- "./data/prosody/config:/config:rw"
expose:
- 5222
- 5269
- 5280
- 5347
jicofo:
image: jitsi/jicofo:{{ apps_vars.jitsi.version }}
restart: always
environment:
JICOFO_AUTH_PASSWORD: {{ jitsi_passwords.jicofo_auth }}
ENABLE_AUTH: 1
AUTH_TYPE: internal
networks:
- meet.jitsi
depends_on:
- prosody
jvb:
image: jitsi/jvb:{{ apps_vars.jitsi.version }}
restart: always
environment:
JVB_AUTH_PASSWORD: {{ jitsi_passwords.jvb_auth }}
2024-05-15 19:24:30 +00:00
PUBLIC_URL: {{ apps_vars.jitsi.domain }}
{% if hostname in groups['production'] %}
JVB_ADVERTISE_IPS: {{ home_ipv4 }},{{ ansible_default_ipv6.address }}
{% else %}
2024-02-10 21:36:48 +00:00
JVB_ADVERTISE_IPS: {{ ansible_host }}
{% endif %}
networks:
- meet.jitsi
ports:
- 10000:10000/udp
depends_on:
- prosody
networks:
meet.jitsi:
{{ apps_shared_docker_network }}:
external: true