Skip to content

Configurable base path#39

Merged
nickamzol merged 5 commits into
mainfrom
configurable-base-path
Oct 24, 2025
Merged

Configurable base path#39
nickamzol merged 5 commits into
mainfrom
configurable-base-path

Conversation

@nickamzol

@nickamzol nickamzol commented Oct 22, 2025

Copy link
Copy Markdown
Member

Allows users to set a custom base path for the HTTP server.

server:
  http:
    # or via env var: DICOM_RST_SERVER_HTTP_BASE_PATH
    base-path: /dicom # default: "/"

Note that this slightly changes the log entry for successful starts of the web server.
Adapt accordingly if you're watching the stdout to wait for startup.

- Started DICOMweb server on http://{addr}"
+ Started DICOMweb server

- Adds the `url` dependency
- New config `server.http.base-path`
  - Defaults to "/"
- Change log entry for server start
  - Follow OpenTelemetry Semantic Conventions
  - Replace wildcard addresses (e.g. `0.0.0.0`) with `127.0.0.1` to quickly visit the URL in a browser
@nickamzol nickamzol self-assigned this Oct 22, 2025
@nickamzol nickamzol merged commit 5dc3e36 into main Oct 24, 2025
1 check failed
@nickamzol nickamzol deleted the configurable-base-path branch October 24, 2025 07:10
@nickamzol nickamzol added the service:general This issue affects the general DICOM-RST service label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

service:general This issue affects the general DICOM-RST service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant