Merge pull request #20 from Permissionless-Software-Foundation/ct-unstable

fix(ipfs ports): Adding configurable ports use env vars
This commit is contained in:
Chris Troutner
2021-08-19 08:04:24 -07:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@ This project covers basic necessities of most APIs.
```bash
git clone https://github.com/Permissionless-Software-Foundation/ipfs-service-provider
cd ipfs-service-provider
sudo npm install -g node-pre-gyp
npm install
npm start
```
+5 -1
View File
@@ -67,5 +67,9 @@ module.exports = {
name: 'Permissionless Software Foundation',
url: 'https://PSFoundation.cash'
}
}
},
// IPFS Ports
ipfsTcpPort: process.env.IPFS_TCP_PORT ? process.env.IPFS_TCP_PORT : 4001,
ipfsWsPort: process.env.IPFS_WS_PORT ? process.env.IPFS_WS_PORT : 4003
}