Update URLs in snowball backend config
This commit is contained in:
parent
6deb847eac
commit
6487729b32
@ -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"
|
||||
|
@ -1122,7 +1122,7 @@
|
||||
</details>
|
||||
|
||||
<details open>
|
||||
<summary>snowball-backend</summary>
|
||||
<summary>deploy-backend</summary>
|
||||
|
||||
## Deploy Backend
|
||||
|
||||
@ -1193,7 +1193,7 @@
|
||||
|
||||
```bash
|
||||
stack:
|
||||
/home/dev/cerc/snowballtools-base-api-stack/stack-orchestrator/stacks/snowballtools-base-backend
|
||||
/home/dev/cerc/snowballtools-base-api-stack/stack-orchestrator/stacks/snowballtools-base-backend
|
||||
deploy-to: k8s
|
||||
kube-config: /home/dev/.kube/config-vs-narwhal.yaml
|
||||
image-registry: container-registry.apps.vaasl.io/laconic-registry
|
||||
@ -1344,12 +1344,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:
|
||||
@ -1376,12 +1382,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>
|
||||
@ -1393,7 +1399,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`
|
||||
|
Loading…
Reference in New Issue
Block a user