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

View File

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