feat(services): lab7 fetch secrets from OpenBao at startup

This commit is contained in:
Голиков Maximillian Антон
2026-11-28 19:43:52 +03:00
parent 205cb1585a
commit 353c78d5f3
3 changed files with 53 additions and 23 deletions
+3
View File
@@ -27,6 +27,9 @@ RUN CGO_ENABLED=0 GOOS=linux go build \
FROM alpine:3.20
COPY scripts/bao-start.sh /bao-start.sh
RUN chmod 0555 /bao-start.sh && apk add --no-cache curl jq
RUN adduser -D -u 1000 app
COPY --from=builder /out/server /server