Skip to content

Commit d1771ff

Browse files
author
Dmitry Savonin
committed
added envs to staking ui
1 parent 69221b0 commit d1771ff

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ DOMAIN_NAME=dev-02.bas.ankr.com make all
3737

3838
P.S: Variable `DOMAIN_NAME` should be set to your domain
3939

40+
Deployed services can be access though next endpoints:
41+
- https://rpc.${DOMAIN_NAME} (port 8545,9546) - Web3 RPC endpoint
42+
- https://explorer.${DOMAIN_NAME} (port 4000) - Blockchain Explorer
43+
- https://faucet.${DOMAIN_NAME} (port 3000) - Faucet
44+
- https://staking.${DOMAIN_NAME} (port 3001) - Staking UI
45+
4046
If you want to run node w/o load balancer and SSL certificates then use next command:
4147
```bash
4248
make all-no-balancer

docker-compose.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,14 @@ services:
176176

177177
staking-ui:
178178
image: ankrnetwork/bas-staking-ui:devel
179+
environment:
180+
CHAIN_ID: "14000"
181+
CHAIN_NAME: "BAS devnet"
182+
CHAIN_RPC: "https://rpc.${DOMAIN_NAME}"
183+
EXPLORER_HOME_URL: "https://explorer.${DOMAIN_NAME}/"
184+
EXPLORER_TX_URL: "https://explorer.${DOMAIN_NAME}/tx/{tx}"
185+
EXPLORER_ADDRESS_URL: "https://explorer.${DOMAIN_NAME}/address/{address}"
186+
EXPLORER_BLOCK_URL: "https://explorer.${DOMAIN_NAME}/block/{block}"
179187
ports:
180188
- "3001:80"
181189
restart: always

0 commit comments

Comments
 (0)