-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
jitsi.yml
78 lines (71 loc) · 2.04 KB
/
jitsi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# DOMAIN=example.com docker stack deploy -c jitsi.yml jitsi
# prosodyctl --config /config/prosody.cfg.lua register username meet.jitsi password
x-defaults: &defaults
environment:
- TZ=Europe/Paris
- JVB_UDP_PORT=${JVB_UDP_PORT:-10000}
- JVB_ADVERTISE_IPS=${JVB_ADVERTISE_IPS}
- ENABLE_COLIBRI_WEBSOCKET_UNSAFE_REGEX=1
- PUBLIC_URL=${SCHEME:-https}://${DOMAIN:-jitsi.localhost}
- JICOFO_AUTH_PASSWORD=${JICOFO_AUTH_PASSWORD}
- JVB_AUTH_PASSWORD=${JVB_AUTH_PASSWORD}
- JIGASI_XMPP_PASSWORD=${JIGASI_XMPP_PASSWORD}
- JIBRI_RECORDER_PASSWORD=${JIBRI_RECORDER_PASSWORD}
- JIBRI_XMPP_PASSWORD=${JIBRI_XMPP_PASSWORD}
services:
web:
<<: *defaults
image: jitsi/web:${VERSION:-stable}
volumes:
- ${VOLUME_PATH}web:/config
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.jitsi-${NUMBER:-1}.rule=Host(`${DOMAIN:-jitsi.localhost}`)
- traefik.http.routers.jitsi-${NUMBER:-1}.entrypoints=${SCHEME:-https}
- traefik.http.routers.jitsi-${NUMBER:-1}.service=jitsi-${NUMBER:-1}
- traefik.http.routers.jitsi-${NUMBER:-1}.tls.certresolver=letsencrypt
- traefik.http.services.jitsi-${NUMBER:-1}.loadbalancer.server.port=80
networks:
- traefik
- internal
prosody:
<<: *defaults
image: jitsi/prosody:${VERSION:-stable}
volumes:
- ${VOLUME_PATH}prosody:/config
networks:
internal:
aliases:
- ${XMPP_SERVER:-xmpp.meet.jitsi}
jicofo:
<<: *defaults
image: jitsi/jicofo:${VERSION:-stable}
volumes:
- ${VOLUME_PATH}jicofo:/config
networks:
- internal
jvb:
<<: *defaults
image: jitsi/jvb:${VERSION:-stable}
volumes:
- ${VOLUME_PATH}jvb:/config
ports:
- target: ${JVB_UDP_PORT:-10000}
published: ${JVB_UDP_PORT:-10000}
protocol: udp
mode: host
networks:
- internal
volumes:
web:
jvb:
jicofo:
prosody:
networks:
internal:
driver: overlay
attachable: true
traefik:
external: true
name: traefik-net