ops: run and monitor Redis Streams workers

This commit is contained in:
2026-10-22 17:22:44 +03:00
parent bc090c0f8b
commit 487015dd2f
8 changed files with 857 additions and 118 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -p=1 -o /out/messenger ./cmd/messenger
RUN go build -p=1 -o /out/lab4experiment ./cmd/lab4experiment
RUN go build -p=1 -o /out/lab5experiment ./cmd/lab5experiment
FROM build AS test
@@ -35,7 +35,7 @@ FROM alpine:3.24.2
RUN addgroup -S app && adduser -S -G app -u 10001 app
COPY --from=build --chown=app:app /out/messenger /app/messenger
COPY --from=build --chown=app:app /out/lab4experiment /app/lab4experiment
COPY --from=build --chown=app:app /out/lab5experiment /app/lab5experiment
USER app
WORKDIR /app