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 246d1b7..69fa320 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", + "name": "nexus-proxy.dnp.dappnode.eth", + "version": "0.1.0", + "upstreamVersion": "219977388b9f26435c2529fc1cd52ff7229e5397", "upstreamRepo": "dappnode/dappnode-nexus-sdk", "upstreamArg": "UPSTREAM_VERSION", "shortDescription": "Attested private AI proxy for DAppNode applications", @@ -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 94b563f..0fd65ef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,16 +1,16 @@ version: "3.5" services: - nexus-local-proxy: + nexus-proxy: build: context: . dockerfile: Dockerfile args: - UPSTREAM_VERSION: d226fca7a37b2a0f556642844f2ec2aafa19d9ca + UPSTREAM_VERSION: 219977388b9f26435c2529fc1cd52ff7229e5397 secrets: - github_token - image: nexus-local-proxy.dnp.dappnode.eth:0.2.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