From 4fb81494129f78b04a3213365145c5e7ec1cb5a8 Mon Sep 17 00:00:00 2001 From: Marketen Date: Wed, 9 Sep 2026 12:05:22 +0200 Subject: [PATCH 1/2] Release the first onchain version as 0.1.0 This package has never been published to the APM registry, so the registry expects its first onchain version to be 0.1.0. The 0.1.x and 0.2.0 tags in this repository were GitHub releases only; renumbering here lines the manifest up with what the first real publish will claim. Also moves the SDK pin from d226fca to 2199773. d226fca only ever existed on the feat/dynamic-trust-policy branch; main squash-merged that work as 2199773 (PR #8). The Dockerfile fetches the pinned SHA exactly, so a pin to a PR branch breaks every build the moment that branch is deleted. 2199773 is current SDK main and contains the same dynamic trust policy. Co-Authored-By: Claude Opus 5 --- dappnode_package.json | 4 ++-- docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dappnode_package.json b/dappnode_package.json index 246d1b7..1e456d0 100644 --- a/dappnode_package.json +++ b/dappnode_package.json @@ -1,7 +1,7 @@ { "name": "nexus-local-proxy.dnp.dappnode.eth", - "version": "0.2.0", - "upstreamVersion": "d226fca7a37b2a0f556642844f2ec2aafa19d9ca", + "version": "0.1.0", + "upstreamVersion": "219977388b9f26435c2529fc1cd52ff7229e5397", "upstreamRepo": "dappnode/dappnode-nexus-sdk", "upstreamArg": "UPSTREAM_VERSION", "shortDescription": "Attested private AI proxy for DAppNode applications", diff --git a/docker-compose.yml b/docker-compose.yml index 94b563f..1faa18a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,10 +6,10 @@ services: context: . dockerfile: Dockerfile args: - UPSTREAM_VERSION: d226fca7a37b2a0f556642844f2ec2aafa19d9ca + UPSTREAM_VERSION: 219977388b9f26435c2529fc1cd52ff7229e5397 secrets: - github_token - image: nexus-local-proxy.dnp.dappnode.eth:0.2.0 + image: nexus-local-proxy.dnp.dappnode.eth:0.1.0 container_name: DAppNodePackage-nexus-local-proxy.dnp.dappnode.eth restart: unless-stopped command: From 700d6b1223885698a87d4970a4abdbb0e065718b Mon Sep 17 00:00:00 2001 From: Marketen Date: Wed, 9 Sep 2026 13:39:47 +0200 Subject: [PATCH 2/2] Rename the package to nexus-proxy to match core naming The repository is now dappnode/DNP_NEXUS_PROXY, following the DNP_ convention every core package uses. This brings the package identity in line with it: nexus-local-proxy.dnp.dappnode.eth -> nexus-proxy.dnp.dappnode.eth which is what DNP_BIND -> bind.dnp.dappnode.eth and DNP_DAPPMANAGER -> dappmanager.dnp.dappnode.eth already do. The compose service and mainService follow, so the internal DNS name becomes nexus-proxy.dappnode.private:3301. The container prefix moves to DAppNodeCore- as well. The manifest has declared type: dncore since 0.2.0, so DAppNodePackage- was already contradicting it. This rides on the 0.1.0 renumbering rather than landing separately because both are only free before the first onchain publish. A dnpName is the package's identity on the registry: changing it after publication means a new package and a migration for anyone who installed the old one. Doing it now costs nothing. Repository and issue URLs follow the rename, and the docs use the new hostname. Co-Authored-By: Claude Opus 5 --- Dockerfile | 2 +- README.md | 6 +++--- dappnode_package.json | 8 ++++---- docker-compose.yml | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5535ae8..1f7196e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ FROM ${RUNTIME_IMAGE} COPY --from=build /out/nexus-proxy /usr/local/bin/nexus-proxy COPY --from=build /out/nexus-proxy-healthcheck /usr/local/bin/nexus-proxy-healthcheck COPY --from=build --chown=nonroot:nonroot /out/state /var/lib/nexus-proxy -COPY THIRD_PARTY_NOTICES.md /usr/share/doc/nexus-local-proxy/THIRD_PARTY_NOTICES.md +COPY THIRD_PARTY_NOTICES.md /usr/share/doc/nexus-proxy/THIRD_PARTY_NOTICES.md USER nonroot:nonroot EXPOSE 3301 diff --git a/README.md b/README.md index 4cd1a1c..02e0a02 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Cloudflare. Configure DAppNode applications with: ```text -Base URL: http://nexus-local-proxy.dappnode.private:3301/v1 +Base URL: http://nexus-proxy.dappnode.private:3301/v1 API key: the application's normal Nexus API key API: OpenAI Chat Completions ``` @@ -26,7 +26,7 @@ republished: ```json { "dependencies": { - "nexus-local-proxy.dnp.dappnode.eth": "^0.1.0" + "nexus-proxy.dnp.dappnode.eth": "^0.1.0" } } ``` @@ -49,7 +49,7 @@ The package serves a page showing whether the Gateway is currently verified and what was checked: ```text -http://nexus-local-proxy.dappnode.private:3301/verification +http://nexus-proxy.dappnode.private:3301/verification ``` It reports the verdict in plain language, lists the checks the proxy performed diff --git a/dappnode_package.json b/dappnode_package.json index 1e456d0..69fa320 100644 --- a/dappnode_package.json +++ b/dappnode_package.json @@ -1,5 +1,5 @@ { - "name": "nexus-local-proxy.dnp.dappnode.eth", + "name": "nexus-proxy.dnp.dappnode.eth", "version": "0.1.0", "upstreamVersion": "219977388b9f26435c2529fc1cd52ff7229e5397", "upstreamRepo": "dappnode/dappnode-nexus-sdk", @@ -13,7 +13,7 @@ "path": "/var/lib/nexus-proxy" } ], - "mainService": "nexus-local-proxy", + "mainService": "nexus-proxy", "architectures": [ "linux/amd64", "linux/arm64" @@ -38,10 +38,10 @@ "author": "DAppNode Association (https://github.com/dappnode)", "repository": { "type": "git", - "url": "https://github.com/dappnode/DAppNodePackage-nexus-local-proxy" + "url": "https://github.com/dappnode/DNP_NEXUS_PROXY" }, "bugs": { - "url": "https://github.com/dappnode/DAppNodePackage-nexus-local-proxy/issues" + "url": "https://github.com/dappnode/DNP_NEXUS_PROXY/issues" }, "license": "MIT", "warnings": { diff --git a/docker-compose.yml b/docker-compose.yml index 1faa18a..0fd65ef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.5" services: - nexus-local-proxy: + nexus-proxy: build: context: . dockerfile: Dockerfile @@ -9,8 +9,8 @@ services: UPSTREAM_VERSION: 219977388b9f26435c2529fc1cd52ff7229e5397 secrets: - github_token - image: nexus-local-proxy.dnp.dappnode.eth:0.1.0 - container_name: DAppNodePackage-nexus-local-proxy.dnp.dappnode.eth + image: nexus-proxy.dnp.dappnode.eth:0.1.0 + container_name: DAppNodeCore-nexus-proxy.dnp.dappnode.eth restart: unless-stopped command: - --gateway-url