-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.development
More file actions
54 lines (49 loc) · 2.42 KB
/
Copy path.env.development
File metadata and controls
54 lines (49 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Shared development environment variables (committed to repository)
# Loaded by Next.js in local development
#
# For local secrets or per-developer overrides, create .env.development.local
# (gitignored). DO NOT put real secrets in this file. The `dev-only-*` values
# below are intentionally well-known, non-production placeholders that match
# the committed Keycloak realm JSON in dev/keycloak/.
# Development-only HMAC secret (intentionally public, non-production value)
ANALYTICS_HASH_SECRET=dev-local-secret-not-for-production
DB_ENCRYPT=true
# Local SQL Server defaults for host-based development.
# The devcontainer injects its own DB_* values from `.devcontainer/.env`,
# and those existing shell variables take precedence over these committed
# defaults when the app runs inside the container.
DB_HOST=127.0.0.1
DB_NAME=kravhantering
DB_PORT=1433
DB_READONLY_PASSWORD=BrowseOnly!Passw0rd7
DB_READONLY_USER=readonly
DB_TRUST_SERVER_CERTIFICATE=true
MSSQL_SA_PASSWORD=YourStrong!Passw0rd
NEXTJS_ENV=development
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Local OpenTelemetry defaults. The SDK only starts when
# OTEL_SDK_ENABLED=true and an OTLP endpoint is configured.
# This file is host-oriented, so it targets the LGTM host port. The
# devcontainer compose files inject http://otel-lgtm:4318 for the app
# container, matching DB_HOST=db inside the compose network.
CAPACITY_JSON_LOGS_ENABLED=true
OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4318
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_SDK_ENABLED=true
OTEL_SERVICE_NAME=kravhantering
AUTH_OIDC_CLIENT_ID=kravhantering-app
AUTH_OIDC_CLIENT_SECRET=dev-only-app-secret
# --------------------------------------
# Authentication (PhenixID OIDC) — local dev defaults targeting the local
# Keycloak realm. See docs/auth-developer-workflow.md.
# --------------------------------------
AUTH_OIDC_ISSUER_URL=http://localhost:8080/realms/kravhantering-dev
AUTH_OIDC_MCP_CLIENT_ID=kravhantering-mcp
AUTH_OIDC_POST_LOGOUT_REDIRECT_URI=http://localhost:3000/
AUTH_OIDC_REDIRECT_URI=http://localhost:3000/api/auth/callback
# Iron-session cookie key (≥32 chars). Dev-only fixed value so every
# contributor gets a working setup without manual generation. Real envs
# generate this with `openssl rand -base64 48` and store it in a Secret.
AUTH_SESSION_COOKIE_PASSWORD=dev-only-cookie-password-not-for-production-32chars-min
# Legacy fallback for the expected MCP service client id.
MCP_CLIENT_ID=kravhantering-mcp