v1.0.4 — Ceph reader creds (hardcode), S3_USE_SSL ENV

This commit is contained in:
“Naeel”
2026-08-08 22:47:39 +04:00
parent 13f8ce8be6
commit 86c4a1f25c
2 changed files with 10 additions and 6 deletions
+7 -4
View File
@@ -15,13 +15,16 @@ FROM alpine:3.21
RUN apk --no-cache add ca-certificates
COPY --from=builder /app/registry /registry
# ── Non-secret defaults (change here → rebuild → push → redeploy) ─────────
ENV S3_ENDPOINT=s3.msk-1.ngcloud.ru \
# ── TEMP: reader creds hardcoded for Ceph test ────────────────────────────
ENV S3_ENDPOINT=ceph.tst.nubes.ru \
S3_BUCKET=terraform-registry \
S3_PREFIX=go-registry.containerk8s.dev.nubes.ru \
REGISTRY_HOSTNAME=go-registry.containerk8s.dev.nubes.ru \
PORT=5000
# ── Secrets go in UI jsonEnv: S3_ACCESS_KEY, S3_SECRET_KEY ─────────────────
S3_USE_SSL=false \
PORT=5000 \
S3_ACCESS_KEY=AAYTNYSZIM08DDWV3TK1 \
S3_SECRET_KEY=xQVd9CeGXACPIXTBTH4KV6DIHEAyySOFSTrS17Lc
# ── TODO: remove hardcoded keys, use jsonEnv for new instance ─────────────
EXPOSE 5000
CMD ["/registry"]