From 51c88ccedfad9fd98d0f23b8db2890443351bb56 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 27 Nov 2024 03:57:06 +0000 Subject: [PATCH] Add a step to update deployer compose file (#41) Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) and https://github.com/LaconicNetwork/issues/issues/1 Reviewed-on: https://git.vdb.to/cerc-io/testnet-laconicd-stack/pulls/41 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- service-provider.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/service-provider.md b/service-provider.md index bb7ab0b..33c9cf7 100644 --- a/service-provider.md +++ b/service-provider.md @@ -236,13 +236,20 @@ Follow the steps below to point your deployer to the SAPO testnet 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: ```bash services: registry: - rpcEndpoint: 'https://laconicd-sapo.laconic.com' - gqlEndpoint: 'https://laconicd-sapo.laconic.com/api' + rpcEndpoint: "" # Eg. https://laconicd-sapo.laconic.com + gqlEndpoint: "" # Eg. https://laconicd-sapo.laconic.com/api userKey: "" bondId: "