Add exporter container if metrics shall be exposed.

This commit is contained in:
Joschka Seydell 2021-11-13 12:31:39 -08:00
parent 89a5c35710
commit 63f8b54302
6 changed files with 33 additions and 1 deletions

View file

@ -179,6 +179,20 @@ services:
networks:
meet.jitsi:
{% if jitsi_expose_metrics %}
# Data exporter
exporter:
image: goberle/jitsi-prom-exporter
restart: unless-stopped
env_file: exporter.env
depends_on:
- jicofo
networks:
# Expose the data exporter to the public network managed by traefik
public:
meet.jitsi:
{% endif %}
# Custom network so all services can communicate using a FQDN
networks:
meet.jitsi:

View file

@ -0,0 +1,6 @@
XMPP_USER={{ jitsi_jicofo_auth_user }}
XMPP_PW={{ jitsi_jicofo_auth_password }}
XMPP_SERVER=xmpp.meet.jitsi
XMPP_PORT=5222
XMPP_AUTH_DOMAIN=auth.meet.jitsi
XMPP_INTERNAL_MUC_DOMAIN=internal-muc.meet.jitsi