mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
29 lines
692 B
YAML
29 lines
692 B
YAML
# Start the testnet server 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:
|
|
- ./database:/data/db
|
|
command: mongod --logpath=/dev/null # -- quiet
|
|
restart: always
|
|
|
|
bch-wallet-service:
|
|
build: ./production/
|
|
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:
|
|
- ./ipfsdata:/home/safeuser/ipfsdata
|
|
- ./orbitdb:/home/safeuser/orbitdb
|
|
|
|
restart: always
|