fix(production): Minor fixes

This commit is contained in:
Chris Troutner
2022-03-26 13:32:52 -07:00
parent 207f00ba81
commit 07551bb693
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ module.exports = {
p2wdbAppId: process.env.APP_ID ? process.env.APP_ID : 'bch-dex-test557',
webhookTarget: process.env.WEBHOOKTARGET
? process.env.WEBHOOKTARGET
: 'http://localhost:5700/order',
: 'http://localhost:5700/offer',
// IPFS Ports
ipfsTcpPort: process.env.IPFS_TCP_PORT ? process.env.IPFS_TCP_PORT : 4001,
@@ -26,7 +26,7 @@ export PORT=5700
# bch-dex specific env vars
export BCH_ENV=production
export WEBHOOKSERVICE=http://172.17.0.1:5667/webhook
export WEBHOOKTARGET=http://172.17.0.1:5700/order
export WEBHOOKTARGET=http://172.17.0.1:5700/offer
export APP_ID=bch-dex-test557
npm start
+1 -1
View File
@@ -4,7 +4,7 @@ version: '3.9'
services:
mongo-p2wdb-service:
image: mongo
image: mongo:4.4
container_name: mongo-p2wdb-service
ports:
- '5666:27017' # <host port>:<container port>
@@ -26,7 +26,7 @@ export PORT=5700
# bch-dex specific env vars
export BCH_ENV=production
export WEBHOOKSERVICE=http://172.17.0.1:5667/webhook
export WEBHOOKTARGET=http://172.17.0.1:5700/order
export WEBHOOKTARGET=http://172.17.0.1:5700/offer
export APP_ID=bch-dex-test557
npm start
+1
View File
@@ -28,6 +28,7 @@ class OrderLib {
async createOrder (entryObj) {
try {
console.log('createOrder(entryObj): ', entryObj)
// if (!entryObj) return
// Specify the address to send payment.
entryObj.makerAddr = this.adapters.wallet.bchWallet.walletInfo.cashAddress