Login feature flag added.

This commit is contained in:
Lucas Winther
2026-07-10 04:50:25 +02:00
parent 525e8e9718
commit 71d1730284
8 changed files with 91 additions and 26 deletions
+4
View File
@@ -16,6 +16,10 @@ FROM oven/bun:1 AS runtime
WORKDIR /app
ENV NODE_ENV=production
ENV DB_PATH=/app/data/app.db
# Runtime feature flags (D-015) — override at `docker run -e` / compose time.
# AUTH_ENABLED=false disables login/register (the auth API 404s and the
# client hides the Sign in UI). Defaults to enabled.
ENV AUTH_ENABLED=true
COPY package.json bun.lock bunfig.toml ./
RUN bun install --frozen-lockfile --production