Unified server binary (vnox-serverd) combining: - Gateway (TCP, auth, channels, sessions, SQLite) - Voice-node (UDP relay, Opus, jitter buffer) Standalone gateway (vnox-gateway) and voice-node (vnox-voice-node) preserved as sub-crates.
24 lines
520 B
YAML
24 lines
520 B
YAML
services:
|
|
gateway:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
network_mode: "host"
|
|
volumes:
|
|
- ./dev/config.toml:/etc/vnox/config.toml:ro
|
|
- vnox-data:/var/lib/vnox
|
|
command: ["--config", "/etc/vnox/config.toml"]
|
|
restart: unless-stopped
|
|
|
|
voice-node:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.voice-node
|
|
network_mode: "host"
|
|
depends_on:
|
|
- gateway
|
|
command: ["--config", "/etc/vnox/config.toml"]
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
vnox-data:
|