chore: update version strings to v1.0.0 in Docker and Nim code
- Dockerfile, Dockerfile.source: LABEL version=1.0.0 - Dockerfile.source: update Nim base image 2.2.2 -> 2.2.10 - src/baradadb.nim, src/barabadb/core/httpserver.nim: v0.1.0 -> v1.0.0 - Rebuild baradadb binary with v1.0.0
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ FROM debian:bookworm-slim
|
|||||||
|
|
||||||
LABEL maintainer="BaraDB Team"
|
LABEL maintainer="BaraDB Team"
|
||||||
LABEL description="BaraDB — Multimodal Database Engine"
|
LABEL description="BaraDB — Multimodal Database Engine"
|
||||||
LABEL version="0.1.0"
|
LABEL version="1.0.0"
|
||||||
|
|
||||||
# Инсталираме runtime зависимости
|
# Инсталираме runtime зависимости
|
||||||
# libpcre3 — нужна за Nim regex (зарежда се динамично)
|
# libpcre3 — нужна за Nim regex (зарежда се динамично)
|
||||||
|
|||||||
+2
-2
@@ -13,7 +13,7 @@
|
|||||||
# docker build -f Dockerfile.source -t baradb:latest .
|
# docker build -f Dockerfile.source -t baradb:latest .
|
||||||
|
|
||||||
# ─── Stage 1: Builder ─────────────────────────────────────
|
# ─── Stage 1: Builder ─────────────────────────────────────
|
||||||
FROM nimlang/nim:2.2.2-alpine AS builder
|
FROM nimlang/nim:2.2.10-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ FROM alpine:3.19
|
|||||||
|
|
||||||
LABEL maintainer="BaraDB Team"
|
LABEL maintainer="BaraDB Team"
|
||||||
LABEL description="BaraDB — Multimodal Database Engine (source build)"
|
LABEL description="BaraDB — Multimodal Database Engine (source build)"
|
||||||
LABEL version="0.1.0"
|
LABEL version="1.0.0"
|
||||||
|
|
||||||
# Инсталираме runtime зависимости
|
# Инсталираме runtime зависимости
|
||||||
RUN apk add --no-cache ca-certificates su-exec wget pcre
|
RUN apk add --no-cache ca-certificates su-exec wget pcre
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ function showTab(idx){
|
|||||||
}
|
}
|
||||||
setInterval(() => { if(document.querySelectorAll('.panel')[4].classList.contains('active')) loadMetrics() }, 5000)
|
setInterval(() => { if(document.querySelectorAll('.panel')[4].classList.contains('active')) loadMetrics() }, 5000)
|
||||||
</script>
|
</script>
|
||||||
<div class='status' style='text-align:center;padding:10px'>BaraDB v0.1.0 — Multimodal Database Engine</div>
|
<div class='status' style='text-align:center;padding:10px'>BaraDB v1.0.0 — Multimodal Database Engine</div>
|
||||||
</body></html>"""
|
</body></html>"""
|
||||||
request.respond(200, @[("Content-Type", "text/html; charset=utf-8")], html)
|
request.respond(200, @[("Content-Type", "text/html; charset=utf-8")], html)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ proc main() =
|
|||||||
# Init structured logger from config
|
# Init structured logger from config
|
||||||
let logLvl = parseEnum[LogLevel]("ll" & capitalizeAscii(config.logLevel))
|
let logLvl = parseEnum[LogLevel]("ll" & capitalizeAscii(config.logLevel))
|
||||||
defaultLogger = newLogger(logLvl, config.logFile)
|
defaultLogger = newLogger(logLvl, config.logFile)
|
||||||
info("BaraDB v0.1.0 — Multimodal Database Engine")
|
info("BaraDB v1.0.0 — Multimodal Database Engine")
|
||||||
|
|
||||||
# Security check: warn if JWT secret is not configured
|
# Security check: warn if JWT secret is not configured
|
||||||
if config.jwtSecret.len == 0:
|
if config.jwtSecret.len == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user