Update URLs in snowball backend config

This commit is contained in:
Adw8 2024-10-28 10:43:36 +05:30 committed by nabarun
parent b754e2e4f9
commit d73c733a7e
2 changed files with 22 additions and 16 deletions

View File

@ -5,17 +5,17 @@
[server.session] [server.session]
secret = "<redacted>" secret = "<redacted>"
# Frontend webapp URL origin # Frontend webapp URL origin
appOriginUrl = "https://deploy.pwa.mito.com" appOriginUrl = "https://deploy.apps.vaasl.io"
# Set to true if server running behind proxy # Set to true if server running behind proxy
trustProxy = true trustProxy = true
# Backend URL hostname # Backend URL hostname
domain = "deploy-backend.pwa.mito.com" domain = "deploy-backend.apps.vaasl.io"
[database] [database]
dbPath = "/data/db/snowball" dbPath = "/data/db/deploy-backend"
[gitHub] [gitHub]
webhookUrl = "https://deploy-backend.pwa.mito.com" webhookUrl = "https://deploy-backend.apps.vaasl.io"
[gitHub.oAuth] [gitHub.oAuth]
clientId = "<redacted>" clientId = "<redacted>"
clientSecret = "<redacted>" clientSecret = "<redacted>"
@ -28,13 +28,13 @@
chainId = "laconic-testnet-2" chainId = "laconic-testnet-2"
privateKey = "<redacted>" privateKey = "<redacted>"
bondId = "<redacted>" bondId = "<redacted>"
authority = "deploy" authority = "vaasl"
[registryConfig.fee] [registryConfig.fee]
gasPrice = "1alnt" gasPrice = "0.001alnt"
[auction] [auction]
commitFee = "100000" commitFee = "1000"
commitsDuration = "120s" commitsDuration = "60s"
revealFee = "100000" revealFee = "1000"
revealsDuration = "120s" revealsDuration = "60s"
denom = "alnt" denom = "alnt"

View File

@ -1239,7 +1239,7 @@
</details> </details>
<details open> <details open>
<summary>snowball-backend</summary> <summary>deploy-backend</summary>
## Deploy Backend ## Deploy Backend
@ -1461,12 +1461,18 @@
</details> </details>
<details open> <details open>
<summary>snowball-frontend</summary> <summary>deploy-frontend</summary>
## Deploy Frontend ## Deploy Frontend
* Source repo: <https://git.vdb.to/cerc-io/snowballtools-base> * Source repo: <https://git.vdb.to/cerc-io/snowballtools-base>
### Prerequisites
* Node.js
* Yarn
### Setup ### Setup
* On your local machine, clone the `snowballtools-base` repo: * On your local machine, clone the `snowballtools-base` repo:
@ -1493,12 +1499,12 @@
```bash ```bash
REGISTRY_BOND_ID=<bond-id> REGISTRY_BOND_ID=<bond-id>
DEPLOYER_LRN=<target-deployer-lrn> DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io
AUTHORITY=vaasl AUTHORITY=vaasl
``` ```
Note: The bond id should be set to the `vaasl` authority Note: The bond id should be set to the `vaasl` authority
* Update required laconic config. You can use the same `userKey` and `bondId` used for snowball-backend: * Update required laconic config. You can use the same `userKey` and `bondId` used for deploying backend:
```bash ```bash
# Replace <user-pk> and <bond-id> # Replace <user-pk> and <bond-id>
@ -1510,7 +1516,7 @@
userKey: <user-pk> userKey: <user-pk>
bondId: <bond-id> bondId: <bond-id>
chainId: laconic-testnet-2 chainId: laconic-testnet-2
gasPrice: 1alnt gasPrice: 0.001alnt
EOF EOF
``` ```
Note: The `userKey` account should own the authority `vaasl` Note: The `userKey` account should own the authority `vaasl`