More work.

Added chat service
Updated packet service to pass the tcp stream around in a Arc type.
Updated character position data to not require multiplying the coords
Added more debug logs
Added an interceptor for gRPC comms with the chat server
Updated build and push script for the chat server changes
This commit is contained in:
2025-06-06 17:52:29 -04:00
parent 85d41c0239
commit ad6ba2c8e6
32 changed files with 787 additions and 92 deletions

25
chat-service/Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM rust:alpine AS builder
LABEL authors="raven"
RUN apk add --no-cache musl-dev libressl-dev protobuf-dev
WORKDIR /usr/src/utils
COPY ./utils .
WORKDIR /usr/src/proto
COPY ./proto .
WORKDIR /usr/src/chat-service
COPY ./chat-service .
RUN cargo build --release
FROM alpine:3
RUN apk add --no-cache libssl3 libgcc
COPY --from=builder /usr/src/chat-service/target/release/chat-service /usr/local/bin/chat-service
EXPOSE 50054
CMD ["chat-service"]