Initial commit: split VNOX monorepo into VNOX-Server

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.
This commit is contained in:
loki5512344 2026-07-09 11:52:56 +02:00
commit e751e0bf5b
94 changed files with 9771 additions and 0 deletions

25
Dockerfile Normal file
View file

@ -0,0 +1,25 @@
# ─── Stage 1: Build ───────────────────────────────────────────────────────────
FROM rust:1.85-slim-bookworm AS builder
RUN apt-get update && \
apt-get install -y --no-install-recommends \
pkg-config libssl-dev libopus-dev cmake && \
rm -rf /var/lib/apt/lists/*
WORKDIR /build
COPY . .
RUN cargo build --release --package vnox-gateway
# ─── Stage 2: Runtime ─────────────────────────────────────────────────────────
FROM debian:bookworm-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /build/target/release/vnox-gateway /usr/local/bin/vnox-gateway
EXPOSE 7600/tcp
ENTRYPOINT ["vnox-gateway"]