Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ KEYCLOAK_CLIENT_SECRET=replace-with-client-secret
# AI
REKA_API_KEY=replace-with-reka-api-key

# Parser
PARSER_BASE_URL=https://...azurewebsites.net/api/parser
PARSER_API_KEY=replace-with-parser-api-key

# Storage
NB_STORAGE_OUTPUTS_TABLEENDPOINT=https://your-storage-account.table.core.windows.net/
NB_STORAGE_OUTPUTS_BLOBENDPOINT=https://your-storage-account.blob.core.windows.net/
Expand Down
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
# Local MAUI mobile configuration overrides
src/NoteBookmark.MauiApp/wwwroot/appsettings.Development.json

# Local AppHost development settings
src/NoteBookmark.AppHost/appsettings.development.json

# User-specific files
*.rsuser
*.suo
Expand Down Expand Up @@ -534,7 +537,7 @@ code-health-state.json

# SquadDash: maintenance reports (runtime, not for version control)
.squad/code-health-reports/
# Squad: ignore runtime state (logs, inbox, sessions)
# Note: .squad/casting/* is identity and MUST be committed to main, not ignored
.squad/.scratch/
.squad/.cache/
# Squad: ignore runtime state (logs, inbox, sessions)
# Note: .squad/casting/* is identity and MUST be committed to main, not ignored
.squad/.scratch/
.squad/.cache/
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>1.4.0</Version>
<Version>1.4.1</Version>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
2 changes: 2 additions & 0 deletions docker-compose/note-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY: "in_memory"
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
HTTP_PORTS: "8000"
Parser__BaseUrl: ${PARSER_BASE_URL}
Parser__ApiKey: ${PARSER_API_KEY}
ConnectionStrings__nb-tables: ${NB_STORAGE_OUTPUTS_TABLEENDPOINT}
ConnectionStrings__nb-blobs: ${NB_STORAGE_OUTPUTS_BLOBENDPOINT}
ports:
Expand Down
5 changes: 5 additions & 0 deletions docs/docker-compose-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ Important Keycloak values for NoteBookmark:
- `KEYCLOAK_CLIENT_ID` (default: `notebookmark`)
- `KEYCLOAK_CLIENT_SECRET` (from Keycloak client settings)

Parser values for the API container:

- `PARSER_BASE_URL` (for example `https://...azurewebsites.net/api/parser`)
- `PARSER_API_KEY` (the parser function key)

## 2. Create Shared Network (One Time)

```bash
Expand Down
4 changes: 2 additions & 2 deletions src/NoteBookmark.AppHost/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"REKA_API_KEY": "KEY_HERE"
},
"Parser": {
"BaseUrl": "https://azpostlight-parser.azurewebsites.net/api/parser",
"BaseUrl": "URL TO YOUR fboucher/azPostlight-Parser",
"ApiKey": "KEY_HERE"
},
"Keycloak": {
"Authority": "http://localhost:8080/realms/notebookmark",
"ClientId": "notebookmark",
"ClientSecret": "m3WOO9oejg0ApR1rZ2eWtKrbS49oDZBL"
"ClientSecret": "KEY_HERE"
}
}
Loading