feat: clone-and-run docker compose for standalone Handle server - #3
Closed
MatusBeke wants to merge 2 commits into
Closed
feat: clone-and-run docker compose for standalone Handle server#3MatusBeke wants to merge 2 commits into
MatusBeke wants to merge 2 commits into
Conversation
The hdl* launchers under assets/handle-9.3.1/bin/ have no extension, so the existing '*.sh eol=lf' rule misses them. On a Windows clone they check out as CRLF, the shebang breaks and 'docker build' fails with 'hdl-server: not found' (exit 127). Force LF for these paths. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds docker-compose.yml + .env.example so the repo can be cloned and started with a single 'docker compose up'. The container writes the resolver endpoint from DSPACE_HANDLE_ENDPOINT, waits for the backend to be reachable, then starts the Handle server. config.dct now defaults to the remote-resolver storage plugin so resolution works out of the box. README documents the flow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author
|
Closing — not needed. The Handle-server separation is delivered by dataquest-dev/dspace-angular#1455, which works with the current published image (it patches the resolver config at container start). Changes to this image repo were not requested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Makes the repo clone & run: clone it, set one variable,
docker compose up, andthe Handle server starts as a standalone service wired to a DSpace backend.
The Handle server resolves through the backend's remote-resolver REST endpoints and
never touches the database directly:
Changes
docker-compose.ymlDSPACE_HANDLE_ENDPOINT, waits for the backend, then starts the Handle server.env.exampleassets/config/config.dctstorage_class = MultiRemoteDSpaceRepositoryHandlePlugin) so resolution works out of the box.gitattributeshdl*launchers (they were checked out as CRLF on Windows, breaking the shebang →docker buildfailed withhdl-server: not found, exit 127)Readme.mdBackend requirement
The backend must expose the remote-resolver endpoints:
Tested
docker compose up -dagainst a running DSpace 7.5 backend: the Handle server loadedall prefixes from the backend and resolved handles (
responseCode: 1).resolvable through the standalone Handle server.
Notes / follow-ups (not in this PR)
hdl-setup-server(the committedassets/config/*.binare placeholders).