feat(m4): axum replay referee with auth, rate limit and sqlite persistence

This commit is contained in:
2026-10-24 23:10:43 +02:00
parent e8908ef4bb
commit 4a9031b29c
10 changed files with 2425 additions and 7 deletions
+17
View File
@@ -0,0 +1,17 @@
# Build stage
FROM rust:1.85-slim AS builder
WORKDIR /src
COPY Cargo.toml Cargo.lock rust-toolchain.toml ./
COPY crates ./crates
COPY tools ./tools
RUN cargo build --release -p server
# Runtime stage
FROM debian:stable-slim
RUN useradd --system --uid 10001 ironarc
WORKDIR /app
COPY --from=builder /src/target/release/server /app/server
USER ironarc
ENV BIND=0.0.0.0:8080
EXPOSE 8080
ENTRYPOINT ["/app/server"]