Compare commits

..
8 Commits
5 changed files with 40 additions and 33 deletions
+1
View File
@@ -67,5 +67,6 @@ ipfsdata
.ipfsdata
ipfs-service-provider.sh
start-bch-wallet-service.sh
data/
!README.md
+2
View File
@@ -78,3 +78,5 @@ Snapshots pinned to IPFS will be listed here.
## License
[MIT](./LICENSE.md)
a
+7 -7
View File
@@ -14,7 +14,7 @@
"axios": "^0.21.1",
"bcryptjs": "^2.4.3",
"glob": "^7.1.6",
"ipfs-coord": "^6.5.6",
"ipfs-coord": "^6.6.0",
"jsonrpc-lite": "^2.2.0",
"jsonwebtoken": "^8.5.1",
"jwt-bch-lib": "^1.3.0",
@@ -10374,9 +10374,9 @@
}
},
"node_modules/ipfs-coord": {
"version": "6.5.6",
"resolved": "https://registry.npmjs.org/ipfs-coord/-/ipfs-coord-6.5.6.tgz",
"integrity": "sha512-Kp1EBRgpP081g1v53zbF0Qo99MXN/lhiIWoEqvDvRcOogSIaIRNoZTIxUozLxvZncAQxkZc7CevO6NTTc1dOtQ==",
"version": "6.6.0",
"resolved": "https://registry.npmjs.org/ipfs-coord/-/ipfs-coord-6.6.0.tgz",
"integrity": "sha512-wCT+75QxL2fQ5AfdGFUoFgKAeHnnQ8HvyWGnUw0AmHAlB1eEaZiWR+2+WQmEja/A3irJ/gF/6FGlFpwsoN9bLQ==",
"dependencies": {
"bch-encrypt-lib": "^2.0.0",
"orbit-db": "^0.26.1"
@@ -34257,9 +34257,9 @@
}
},
"ipfs-coord": {
"version": "6.5.6",
"resolved": "https://registry.npmjs.org/ipfs-coord/-/ipfs-coord-6.5.6.tgz",
"integrity": "sha512-Kp1EBRgpP081g1v53zbF0Qo99MXN/lhiIWoEqvDvRcOogSIaIRNoZTIxUozLxvZncAQxkZc7CevO6NTTc1dOtQ==",
"version": "6.6.0",
"resolved": "https://registry.npmjs.org/ipfs-coord/-/ipfs-coord-6.6.0.tgz",
"integrity": "sha512-wCT+75QxL2fQ5AfdGFUoFgKAeHnnQ8HvyWGnUw0AmHAlB1eEaZiWR+2+WQmEja/A3irJ/gF/6FGlFpwsoN9bLQ==",
"requires": {
"bch-encrypt-lib": "^2.0.0",
"orbit-db": "^0.26.1"
+1 -1
View File
@@ -28,7 +28,7 @@
"bcryptjs": "^2.4.3",
"glob": "^7.1.6",
"@chris.troutner/ipfs": "2.0.2",
"ipfs-coord": "^6.5.6",
"ipfs-coord": "^6.6.0",
"jsonrpc-lite": "^2.2.0",
"jsonwebtoken": "^8.5.1",
"jwt-bch-lib": "^1.3.0",
+29 -25
View File
@@ -1,27 +1,31 @@
# Start the testnet server with the command 'docker-compose up -d'
# Start the service with the command 'docker-compose up -d'
bch-wallet-mongodb:
image: mongo
container_name: mongo-bch-service
ports:
- '5555:27017' # <host port>:<container port>
volumes:
- ../data/database:/data/db
command: mongod --logpath=/dev/null # -- quiet
restart: always
version: '2'
services:
bch-wallet-mongodb:
image: mongo
container_name: mongo-bch-service
ports:
- '5555:27017' # <host port>:<container port>
volumes:
- ../data/mongodb:/data/db
command: mongod --logpath=/dev/null # -- quiet
restart: always
bch-wallet-service:
build: ./
dockerfile: Dockerfile
container_name: bch-wallet-service
links:
- bch-wallet-mongodb
ports:
# <host port>:<container port>
- '5001:5001' # REST API
- '5668:5668' # IPFS TCP Port
- '5669:5669' # IPFS WS Port
volumes:
- ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
restart: always
bch-wallet-service:
build: ./
container_name: bch-wallet-service
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '10'
links:
- bch-wallet-mongodb
ports:
# <host port>:<container port>
- '5001:5001' # REST API
- '5668:5668' # IPFS TCP Port
- '5669:5669' # IPFS WS Port
volumes:
- ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata