Files
linux-8.2/webrtc/docker-compose.cc-webrtc.yml

62 lines
1.7 KiB
YAML
Executable File

version: "3.9"
services:
livekit:
container_name: callabacloud-webrtc
image: registry.callabacloud.com/callaba-selfhosted/cc-livekit:v1.7.3
restart: always
network_mode: "host"
volumes:
- ./livekit.yaml:/etc/livekit.yaml
- certs:/etc/ssl/callaba/
depends_on:
- redis
entrypoint: "/livekit-server --config /etc/livekit.yaml --node-ip 127.0.0.1"
redis:
container_name: callabacloud-redis
image: redis:6-alpine
command: redis-server /etc/redis.conf
restart: always
network_mode: "host"
volumes:
- ./redis.conf:/etc/redis.conf
- redis-data:/data
ingress:
container_name: callabacloud-ingress
restart: always
image: registry.callabacloud.com/callaba-selfhosted/cc-ingress:v1.4.8
environment:
INGRESS_CONFIG_FILE: /etc/ingress.conf
network_mode: "host"
privileged: true
volumes:
- ./ingress.conf:/etc/ingress.conf
- ./ndi-config.v1.json:/root/.ndi/ndi-config.v1.json
- ./etc-ntpsec-ntp.conf:/etc/ntpsec/ntp.conf
- /var/run/dbus:/var/run/dbus
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- redis
- livekit
egress:
container_name: callabacloud-egress
restart: always
image: livekit/egress:v1.8.6
environment:
EGRESS_CONFIG_FILE: /etc/egress.conf
network_mode: "host"
volumes:
- ./egress.conf:/etc/egress.conf
- ./egress-output:/out/
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
cap_add:
- SYS_ADMIN
depends_on:
- redis
- livekit
volumes:
certs:
name: callabacloud-certs
redis-data: