Files
ipfs-bch-wallet-service/docker-compose.yml
T

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:
- '5704: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>
- '5700:5700' # REST API
- '5701:5701' # IPFS TCP Port
- '5702:5702' # IPFS WS Port
volumes:
- ./ipfsdata:/home/safeuser/ipfsdata
- ./orbitdb:/home/safeuser/orbitdb
restart: always