This file assumes you already have:
- A healthy Keycloak instance
- A
notebookmarkrealm configured (seedocs/keycloak-setup.md)
If you do not have Keycloak yet, see docs/keycloak-container-setup.md first.
- Docker Engine with Compose support (
docker compose) docker-compose/.envwith valid values- Azure Storage endpoints (Table + Blob)
- Keycloak client secret for client
notebookmark
From the repository root:
cp .env-sample docker-compose/.envEdit docker-compose/.env and set all required values.
Important Keycloak values for NoteBookmark:
KEYCLOAK_AUTHORITY(for examplehttp://localhost:8080/realms/notebookmark)KEYCLOAK_CLIENT_ID(default:notebookmark)KEYCLOAK_CLIENT_SECRET(from Keycloak client settings)
docker network create notebookmarkThen move into the compose folder so .env is auto-detected:
cd docker-composedocker compose -f note-compose.yaml up -d- Blazor App:
http://localhost:8005 - API:
http://localhost:8001
docker compose -f note-compose.yaml downdocker compose -f note-compose.yaml config