40 lines
1.0 KiB
Django/Jinja
40 lines
1.0 KiB
Django/Jinja
services:
|
|
caddy:
|
|
image: livekit/caddyl4
|
|
container_name: caddy
|
|
command: run --config /etc/caddy.yaml --adapter yaml
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
volumes:
|
|
- ./caddy.yaml:/etc/caddy.yaml
|
|
- ./caddy_data:/data
|
|
- ./certs/livekit.crt:/etc/ssl/certs/livekit.crt
|
|
- ./certs/livekit.key:/etc/ssl/certs/livekit.key
|
|
livekit:
|
|
image: livekit/livekit-server:latest
|
|
container_name: livekit
|
|
command: --config /etc/livekit.yaml
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
volumes:
|
|
- ./livekit.yaml:/etc/livekit.yaml
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: redis
|
|
command: redis-server /etc/redis.conf
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
volumes:
|
|
- ./redis.conf:/etc/redis.conf
|
|
egress:
|
|
image: livekit/egress:latest
|
|
container_name: egress
|
|
restart: unless-stopped
|
|
environment:
|
|
- EGRESS_CONFIG_FILE=/etc/egress.yaml
|
|
network_mode: "host"
|
|
volumes:
|
|
- ./egress.yaml:/etc/egress.yaml
|
|
cap_add:
|
|
- CAP_SYS_ADMIN
|