-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.talk-hpb.yml
More file actions
54 lines (51 loc) · 1.66 KB
/
docker-compose.talk-hpb.yml
File metadata and controls
54 lines (51 loc) · 1.66 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
# Nextcloud Talk High Performance Backend (HPB)
# Optional extension - use with: docker compose -f docker-compose.yml -f docker-compose.talk-hpb.yml up -d
#
# Setup:
# 1. Copy talk-hpb.env.example to talk-hpb.env
# 2. Run: ./configure_talk_hpb.sh --generate-secrets --update-nginx
# 3. Start: docker compose -f docker-compose.yml -f docker-compose.talk-hpb.yml up -d
# 4. Restart nginx: docker compose restart nextcloud-nginx
services:
# Override nginx to mount config file (enables runtime changes)
nextcloud-nginx:
volumes:
- ./data/nc_data:/var/www/html:z
- ./nextcloud-nginx/nginx.conf:/etc/nginx/nginx.conf:ro
nextcloud-talk-hpb:
container_name: nextcloud-talk-hpb
image: ghcr.io/nextcloud-releases/aio-talk:latest
restart: unless-stopped
depends_on:
nextcloud-fpm:
condition: service_started
ports:
- "3478:3478" # TURN TCP
- "3478:3478/udp" # TURN UDP
expose:
- "8081" # Signaling (Docker-internal, nginx proxy)
env_file:
- ./talk-hpb.env
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 8081 || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
# Optional: Recording Backend
# Start with: --profile recording
nextcloud-talk-recording:
container_name: nextcloud-talk-recording
image: nextcloud/aio-talk-recording:latest
restart: unless-stopped
profiles:
- recording
depends_on:
nextcloud-talk-hpb:
condition: service_healthy
expose:
- "1234" # Recording API (Docker-internal)
env_file:
- ./talk-hpb.env
environment:
- HPB_DOMAIN=nextcloud-talk-hpb:8081