feat(FN-002): complete Step 4 — Docker Compose and Deployment Skeleton
Fusion-Task-Id: FN-002 Fusion-Task-Lineage: 49cb7077-d805-4d39-9a27-ae50744f2839
This commit is contained in:
+3
-1
@@ -11,7 +11,9 @@ WEB_URL=http://localhost:5173
|
|||||||
POSTGRES_USER=postgres
|
POSTGRES_USER=postgres
|
||||||
POSTGRES_PASSWORD=postgres
|
POSTGRES_PASSWORD=postgres
|
||||||
POSTGRES_DB=headquarter
|
POSTGRES_DB=headquarter
|
||||||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}
|
# DATABASE_URL uses a literal value because Pydantic Settings does not expand
|
||||||
|
# shell-style variable interpolation from .env files.
|
||||||
|
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/headquarter
|
||||||
|
|
||||||
# Authentik OIDC placeholders (wire in FN-004)
|
# Authentik OIDC placeholders (wire in FN-004)
|
||||||
AUTHENTIK_ISSUER_URL=https://auth.example.com/application/o/headquarter/
|
AUTHENTIK_ISSUER_URL=https://auth.example.com/application/o/headquarter/
|
||||||
|
|||||||
+3
-1
@@ -2,7 +2,9 @@ FROM node:22-alpine AS builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN npm install -g pnpm@11.1.1 && pnpm install
|
RUN npm install -g pnpm@11.1.1 \
|
||||||
|
&& pnpm install --ignore-scripts \
|
||||||
|
&& pnpm rebuild esbuild
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|||||||
Reference in New Issue
Block a user