-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
156 lines (146 loc) · 4.21 KB
/
Copy pathdocker-compose.yml
File metadata and controls
156 lines (146 loc) · 4.21 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# LoungeMesh (Vue SPA) + local Jitsi Meet (docker-jitsi-meet stack).
#
# docker compose up -d --build
#
# LoungeMesh UI: http://127.0.0.1:8780
# Jitsi web: http://127.0.0.1:8001 (PUBLIC_URL in .env)
#
# Image versions are pinned here so Dependabot can open update PRs automatically.
# Do NOT use ${JITSI_IMAGE_VERSION} or floating tags like :stable — pin explicitly.
services:
loungemesh:
build:
context: .
dockerfile: Dockerfile
args:
VITE_JITSI_PUBLIC_URL: ${VITE_JITSI_PUBLIC_URL:-http://127.0.0.1:8001}
VITE_XMPP_DOMAIN: ${XMPP_DOMAIN:-meet.jitsi}
VITE_XMPP_MUC_DOMAIN: ${XMPP_MUC_DOMAIN:-muc.meet.jitsi}
VITE_USE_WEBSOCKET: "true"
VITE_DISABLE_STUN_TURN_DISCOVERY: ${VITE_DISABLE_STUN_TURN_DISCOVERY:-true}
VITE_EVENTYAY_API_BASE: ${VITE_EVENTYAY_API_BASE-}
VITE_SESSION_PREFIX: ${VITE_SESSION_PREFIX-}
ports:
- "127.0.0.1:${LOUNGEMESH_PORT:-8780}:80"
- "[::1]:${LOUNGEMESH_PORT:-8780}:80"
depends_on:
jitsi-web:
condition: service_started
server:
condition: service_started
restart: unless-stopped
# Join the jitsi network so nginx can proxy /libs/ to the jitsi-web container
# (lib-jitsi-meet is served from there, never bundled as a static file).
networks:
meet.jitsi:
server:
build:
context: ./server
dockerfile: Dockerfile
restart: unless-stopped
environment:
- DATABASE_URL=${DATABASE_URL}
- REDIS_URL=${REDIS_URL}
- JWT_SECRET=${JWT_SECRET}
- ENCRYPTION_KEY=${ENCRYPTION_KEY}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
- ALLOWED_OAUTH_ORIGINS=${ALLOWED_OAUTH_ORIGINS}
depends_on:
postgres:
condition: service_started
redis:
condition: service_started
networks:
meet.jitsi:
postgres:
image: postgres:17-alpine
restart: unless-stopped
ports:
- "127.0.0.1:${POSTGRES_PORT:-5432}:5432"
environment:
POSTGRES_USER: ${POSTGRES_USER:-loungemesh}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-loungemesh}
POSTGRES_DB: ${POSTGRES_DB:-loungemesh}
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
meet.jitsi:
redis:
image: redis:7.4-alpine
restart: unless-stopped
ports:
- "127.0.0.1:${REDIS_PORT:-6379}:6379"
volumes:
- redis_data:/data
networks:
meet.jitsi:
jitsi-web:
image: jitsi/web:stable-10888
restart: ${RESTART_POLICY:-unless-stopped}
ports:
- "${HTTP_PORT:-8001}:80"
- "${HTTPS_PORT:-8444}:443"
volumes:
- ${CONFIG:-./docker/jitsi-config}/web:/config:Z
- ${CONFIG:-./docker/jitsi-config}/web/crontabs:/var/spool/cron/crontabs:Z
- ${CONFIG:-./docker/jitsi-config}/transcripts:/usr/share/jitsi-meet/transcripts:Z
env_file:
- .env
depends_on:
jvb:
condition: service_started
networks:
meet.jitsi:
prosody:
image: jitsi/prosody:stable-10888
restart: ${RESTART_POLICY:-unless-stopped}
expose:
- "5222"
- "5269"
- "5347"
- "5280"
volumes:
- ${CONFIG:-./docker/jitsi-config}/prosody/config:/config:Z
- ${CONFIG:-./docker/jitsi-config}/prosody/prosody-plugins-custom:/prosody-plugins-custom:Z
env_file:
- .env
depends_on: {}
networks:
meet.jitsi:
aliases:
- ${XMPP_SERVER:-xmpp.meet.jitsi}
jicofo:
image: jitsi/jicofo:stable-10888
restart: ${RESTART_POLICY:-unless-stopped}
ports:
- "127.0.0.1:${JICOFO_REST_PORT:-8888}:8888"
volumes:
- ${CONFIG:-./docker/jitsi-config}/jicofo:/config:Z
env_file:
- .env
depends_on:
prosody:
condition: service_started
networks:
meet.jitsi:
jvb:
image: jitsi/jvb:stable-10888
restart: ${RESTART_POLICY:-unless-stopped}
ports:
- "${JVB_PORT:-10000}:${JVB_PORT:-10000}/udp"
- "127.0.0.1:${JVB_COLIBRI_PORT:-8090}:8080"
volumes:
- ${CONFIG:-./docker/jitsi-config}/jvb:/config:Z
env_file:
- .env
depends_on:
prosody:
condition: service_started
networks:
meet.jitsi:
networks:
meet.jitsi:
volumes:
postgres_data:
redis_data: