2021-09-03 11:27:27 -07:00
|
|
|
# Start the service with the command 'docker-compose up -d'
|
2021-07-13 12:34:51 -07:00
|
|
|
|
2021-12-29 17:46:05 -08:00
|
|
|
version: '3.9'
|
2021-08-26 09:21:08 -07:00
|
|
|
|
2021-09-03 11:27:27 -07:00
|
|
|
services:
|
2024-03-24 08:59:47 -07:00
|
|
|
mongo-bch-service:
|
2022-07-25 17:40:05 -07:00
|
|
|
image: mongo:4.2.0
|
2021-09-03 12:01:45 -07:00
|
|
|
container_name: mongo-bch-service
|
2021-09-03 11:27:27 -07:00
|
|
|
ports:
|
2024-03-24 07:25:48 -07:00
|
|
|
- '5557:27017' # <host port>:<container port>
|
2021-09-03 11:27:27 -07:00
|
|
|
volumes:
|
2021-09-03 12:01:45 -07:00
|
|
|
- ../data/mongodb:/data/db
|
2021-09-03 11:27:27 -07:00
|
|
|
command: mongod --logpath=/dev/null # -- quiet
|
|
|
|
|
restart: always
|
2021-07-13 12:34:51 -07:00
|
|
|
|
2024-03-24 08:59:47 -07:00
|
|
|
ipfs-bch-wallet-service:
|
2024-01-28 15:05:34 -08:00
|
|
|
build: .
|
|
|
|
|
#image: christroutner/ipfs-service-provider:v5.0.1
|
2024-03-24 08:59:47 -07:00
|
|
|
container_name: ipfs-bch-wallet-service
|
2021-09-03 11:27:27 -07:00
|
|
|
logging:
|
|
|
|
|
driver: 'json-file'
|
|
|
|
|
options:
|
|
|
|
|
max-size: '10m'
|
|
|
|
|
max-file: '10'
|
2024-08-19 06:29:16 -07:00
|
|
|
mem_limit: 1000mb
|
2021-09-03 11:27:27 -07:00
|
|
|
links:
|
2024-03-24 08:59:47 -07:00
|
|
|
- mongo-bch-service
|
2021-09-03 11:27:27 -07:00
|
|
|
ports:
|
2025-02-23 10:34:00 -07:00
|
|
|
# <host port>:<container port>
|
2025-02-23 11:25:20 -07:00
|
|
|
- '5032:5032' # REST API
|
|
|
|
|
- '5668:5668' # TCP
|
|
|
|
|
- '5669:5669' # Websockets
|
|
|
|
|
- '5670:5670' # WebRTC
|
2025-02-23 10:34:00 -07:00
|
|
|
|
2021-09-03 11:27:27 -07:00
|
|
|
volumes:
|
2021-10-11 09:05:57 -07:00
|
|
|
- ../data/ipfsdata:/home/safeuser/ipfs-bch-wallet-service/.ipfsdata
|
2022-07-08 09:01:04 -07:00
|
|
|
- ./start-production.sh:/home/safeuser/ipfs-bch-wallet-service/start-production.sh
|
2021-12-30 07:52:22 -08:00
|
|
|
restart: always
|