Configurable port (#76)
* Configurable monitor port * Remove obsolete comment. * Configurable port in UI
This commit is contained in:
parent
9f5edcffbf
commit
1ab4a0eca8
@ -8,3 +8,4 @@ GAS_PRICE_SPEED_TYPE=standard
|
||||
GAS_LIMIT=300000
|
||||
GAS_PRICE_FALLBACK=21
|
||||
LEFT_TX_THRESHOLD=100
|
||||
PORT=3003
|
||||
|
@ -83,21 +83,6 @@ app.get('/alerts', async (req, res, next) => {
|
||||
}
|
||||
})
|
||||
|
||||
// responses/stuckTransfers.json
|
||||
// Only applicable for bridge-rust-v1-native-to-erc
|
||||
/*
|
||||
app.get('/stuckTransfers', async (req, res, next) => {
|
||||
try {
|
||||
const results = await readFile('./responses/stuckTransfers.json')
|
||||
results.ok = results.total.length === 0
|
||||
res.json(results)
|
||||
} catch (e) {
|
||||
// this will eventually be handled by your error handling middleware
|
||||
next(e)
|
||||
}
|
||||
})
|
||||
*/
|
||||
|
||||
const port = process.env.PORT || 3000
|
||||
const port = process.env.PORT || 3003
|
||||
app.set('port', port)
|
||||
app.listen(port, () => console.log('Monitoring app listening on port 3000!'))
|
||||
app.listen(port, () => console.log(`Monitoring app listening on port ${port}!`))
|
||||
|
@ -129,6 +129,7 @@ services:
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_SPEED_TYPE=standard
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_FALLBACK=5000000000
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_UPDATE_INTERVAL=15000
|
||||
- PORT=3000
|
||||
command: "true"
|
||||
ui-erc20:
|
||||
build:
|
||||
@ -154,6 +155,7 @@ services:
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_SPEED_TYPE=standard
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_FALLBACK=5000000000
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_UPDATE_INTERVAL=15000
|
||||
- PORT=3000
|
||||
command: "true"
|
||||
ui-erc20-native:
|
||||
build:
|
||||
@ -179,6 +181,7 @@ services:
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_SPEED_TYPE=standard
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_FALLBACK=5000000000
|
||||
- REACT_APP_FOREIGN_GAS_PRICE_UPDATE_INTERVAL=15000
|
||||
- PORT=3000
|
||||
command: "true"
|
||||
e2e:
|
||||
build:
|
||||
|
@ -30,6 +30,7 @@ REACT_APP_FOREIGN_GAS_PRICE_UPDATE_INTERVAL=15000
|
||||
# Default
|
||||
REACT_APP_TITLE=TokenBridge UI app - %c
|
||||
REACT_APP_DESCRIPTION=The POA cross-chain bridge serves as a method of transferring POA native tokens from the POA Network to the Ethereum network in a quick and cost-efficient manner.
|
||||
PORT=3000
|
||||
|
||||
# RSK
|
||||
#REACT_APP_DESCRIPTION=The TokenBridge serves as a method of transferring Bancor Network tokens between the Ethereum network and the Rootstock network in a quick and cost-efficient manner.
|
||||
|
Loading…
Reference in New Issue
Block a user