Update port mappings with TMKMS domain

This commit is contained in:
Shreerang Kale 2025-06-13 19:35:52 +05:30
parent 11921bc41c
commit 8bdde3b7bf
3 changed files with 9 additions and 16 deletions

View File

@ -10,6 +10,9 @@ https://laconicd-mainnet.laconic.com/graphql -> 9473/graphql
Open p2p port:
26656
Open port for TMKMS:
26659
# Console app deployment already exists, point new domain to following port
https://console-mainnet.laconic.com -> 4001
```

View File

@ -222,7 +222,7 @@
priv_validator_key_file_path: "</path/to/priv_validator_key.json>"
# Set the IP address of the machine where the laconicd node is setup
node_ip: "<NODE_PUBLIC_IP_ADDRESS>"
node_ip: "laconicd-mainnet.laconic.com"
# Set the port of the laconicd node
node_port: "26659"
@ -380,7 +380,7 @@
- Get your node's address by running following command in the machine where the mainnet node is running (machine 2):
```bash
laconic-so deployment --dir $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR exec laconicd 'echo $(laconicd cometbft show-node-id)@YOUR_PUBLIC_IP_ADDRESS:26656'
laconic-so deployment --dir $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR exec laconicd 'echo $(laconicd cometbft show-node-id)@laconicd-mainnet.laconic.com:26656'
```
- Add your node's address to [node-addresses.yml](./node-addresses.yml)

View File

@ -28,9 +28,6 @@ Instructions to reset / update the deployments
# Checkout to the latest tag (https://git.vdb.to/LaconicNetwork/laconic-wallet-web/tags)
git checkout <tag>
# Confirm the latest commit hash
git log
# Rebuild the containers
cd /srv/wallet
@ -142,7 +139,7 @@ Instructions to reset / update the deployments
# Confirm latest commit hash in the ~/cerc/webapp-deployment-status-api repo
```
* Rebuild container images:
* Rebuild container images if there are any changes:
```bash
laconic-so --stack webapp-deployer-backend build-containers --force-rebuild
@ -154,8 +151,8 @@ Instructions to reset / update the deployments
```bash
# Set required variables
# eg: container-registry.pwa.laconic.com
CONTAINER_REGISTRY_URL=
CONTAINER_REGISTRY_URL=container-registry.apps.vaasl.io
# For credentials: "cat /srv/service-provider/webapp-deployer/config.env | grep IMAGE_REGISTRY"
CONTAINER_REGISTRY_USERNAME=
CONTAINER_REGISTRY_PASSWORD=
@ -176,13 +173,6 @@ Instructions to reset / update the deployments
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
@ -304,7 +294,7 @@ Instructions to reset / update the deployments
gqlEndpoint = "https://laconicd-mainnet.laconic.com/api"
chainId = "laconic-mainnet"
privateKey = "<private-key>"
bondId = "<private-key>"
bondId = "<bond-id>"
authority = "laconic-deploy"
[registryConfig.fee]
gasPrice = "0.001alnt"