Compare commits

..

2 Commits

Author SHA1 Message Date
218f9f5fd6 Update README.md 2026-01-05 20:15:13 +00:00
8405e0964b Update README.md 2026-01-05 20:14:24 +00:00
2 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,8 @@
# webapp-deployment-status-api
# Webapp Deployer
This API provides status information about webapp deployment requests and a mechanism for upload encrypted configuration
files used by those requests.
This service is run by Laconic Network Service Providers and listens for ApplicationDeploymentRequests on the Laconic Registry. When a valid Request is published onchain, this service will build and host the application on the Service Providers' Kubernetes cluster.
For setup, see [here](https://git.vdb.to/cerc-io/testnet-ops/src/branch/main/service-provider-setup$0)
## Build and Run
@ -138,4 +139,6 @@ CHECK_INTERVAL=15
AUCTION_CHECK_INTERVAL=10
HANDLE_AUCTION_REQUESTS=true
AUCTION_BID_AMOUNT=50000
DEPLOYER_GITHUB_TOKEN="optional, set for deploying private repos"
```

View File

@ -159,9 +159,7 @@ export class RegHelper {
}
status.app = r.attributes.application;
const dnsList: string[] = r.attributes.dns ? r.attributes.dns.split(",") : [];
const hostname = dnsList.length ? dnsList[dnsList.length - 1] : generateHostnameForApp(app);
const hostname = r.attributes.dns ?? generateHostnameForApp(app);
if (deploymentsByRequest.has(r.id)) {
const deployment = deploymentsByRequest.get(r.id);