Files
ColdBreeze-chat-server-rust/deploy/docker-compose.yaml
T
Binbim 7d3333bbff
Release / build (aarch64, true, ubuntu-latest, sudo apt-get install -y rsync, stable, aarch64-unknown-linux-musl) (push) Has been cancelled
Release / build (arm-v7, true, ubuntu-latest, sudo apt-get install -y rsync, stable, armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release / build (linux, ubuntu-latest, sudo apt-get install -y rsync, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
Release / build (macos, macos-latest, brew install rsync, stable, x86_64-apple-darwin) (push) Has been cancelled
Release / release (push) Has been cancelled
Release / add (aarch64, true, ubuntu-latest, stable, aarch64-unknown-linux-musl) (push) Has been cancelled
Release / add (arm-v7, true, ubuntu-latest, stable, armv7-unknown-linux-musleabihf) (push) Has been cancelled
Release / add (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
Release / add (macos, macos-latest, stable, x86_64-apple-darwin) (push) Has been cancelled
feat: migrate to LiveKit, remove Agora/payment, add domain certs for Caddy
2026-07-04 07:15:41 +08:00

56 lines
1.4 KiB
YAML

services:
vocechat-server:
# Multi-stage build: compiles Rust binary from source inside Docker.
# No local Rust toolchain needed. First build takes a few minutes.
build:
context: ..
dockerfile: deploy/Dockerfile
container_name: coldbreeze-server
restart: unless-stopped
volumes:
- vocechat_data:/home/vocechat-server/data
- /vol1/docker/coldbreeze/web-client:/home/vocechat-server/data/wwwroot:ro
expose:
- "3000"
depends_on:
- livekit-server
livekit-server:
image: livekit/livekit-server:v1.13.3
container_name: coldbreeze-livekit
restart: unless-stopped
command:
- --bind
- 0.0.0.0
- --config
- /etc/livekit.yaml
volumes:
- ./livekit.yaml:/etc/livekit.yaml:ro
ports:
# WebRTC media (UDP) - must be host-mapped for browser ICE
- "50000-50100:50000-50100/udp"
expose:
- "7880"
- "7881"
caddy:
image: caddy:2-alpine
container_name: coldbreeze-caddy
restart: unless-stopped
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- /vol1/docker/coldbreeze/certs/vocechat:/certs/vocechat:ro
- /vol1/docker/coldbreeze/certs/livekit:/certs/livekit:ro
- caddy_data:/data
- caddy_config:/config
ports:
# HTTPS (443) - the only public entry point
- "443:443"
depends_on:
- vocechat-server
- livekit-server
volumes:
vocechat_data:
caddy_data:
caddy_config: