Add a step to update deployer compose file

This commit is contained in:
Prathamesh Musale 2024-11-26 18:26:46 +05:30
parent b4c272254f
commit 9a2b9ccd2a

View File

@ -236,13 +236,20 @@ Follow the steps below to point your deployer to the SAPO testnet
laconic-so deployment --dir webapp-deployer push-images laconic-so deployment --dir webapp-deployer push-images
``` ```
* Overwrite an existing compose file with the latest one:
```bash
# In directory where webapp-deployer deployment folder exists
cp ~/cerc/webapp-deployment-status-api/docker-compose.yml webapp-deployer/compose/docker-compose-webapp-deployer-backend.yml
```
* Update deployer laconic registry config (`webapp-deployer/data/config/laconic.yml`) with new endpoints: * Update deployer laconic registry config (`webapp-deployer/data/config/laconic.yml`) with new endpoints:
```bash ```bash
services: services:
registry: registry:
rpcEndpoint: 'https://laconicd-sapo.laconic.com' rpcEndpoint: "<your-sapo-rpc-endpoint>" # Eg. https://laconicd-sapo.laconic.com
gqlEndpoint: 'https://laconicd-sapo.laconic.com/api' gqlEndpoint: "<your-sapo-gql-endpoint>" # Eg. https://laconicd-sapo.laconic.com/api
userKey: "<userKey>" userKey: "<userKey>"
bondId: "<bondId" bondId: "<bondId"
chainId: laconic-testnet-2 chainId: laconic-testnet-2