Add exporter container if metrics shall be exposed.
This commit is contained in:
parent
89a5c35710
commit
63f8b54302
6 changed files with 33 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
6
templates/exporter.env.j2
Normal file
6
templates/exporter.env.j2
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue