Files

39 lines
1013 B
YAML
Raw Permalink Normal View History

# 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'
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
container_name: mongo-bch-service
ports:
- '5557:27017' # <host port>:<container port>
volumes:
- ../data/mongodb:/data/db
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:
build: .
#image: christroutner/ipfs-service-provider:v5.0.1
2024-03-24 08:59:47 -07:00
container_name: ipfs-bch-wallet-service
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '10'
mem_limit: 1000mb
links:
2024-03-24 08:59:47 -07:00
- mongo-bch-service
ports:
# <host port>:<container port>
- '5032:5032' # REST API
- '5668:5668' # TCP
- '5669:5669' # Websockets
- '5670:5670' # WebRTC
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