mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer.git
synced 2026-09-21 16:52:03 -07:00
37 lines
1.0 KiB
Bash
Executable File
37 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script is an example for running a production environment, which is
|
|
# defined by running an external go-ipfs node.
|
|
|
|
# Ports
|
|
export PORT=5005 # REST API port
|
|
|
|
# The human-readible name that is used when displaying data about this node.
|
|
export COORD_NAME=trout-dev-bch-wallet-consumer
|
|
|
|
# This is used for end-to-end encryption (e2ee).
|
|
export MNEMONIC="stomach mean catch march census author cousin size south romance pumpkin trap"
|
|
|
|
# 0 = less verbose. 3 = most verbose
|
|
export DEBUG_LEVEL=1
|
|
|
|
# Production settings that use external IPFS node.
|
|
# https://github.com/christroutner/docker-ipfs
|
|
export SVC_ENV=production
|
|
export IPFS_HOST=localhost
|
|
export IPFS_API_PORT=5001
|
|
|
|
# Configure IPFS ports
|
|
export IPFS_TCP_PORT=4001
|
|
#export IPFS_WS_PORT=5269
|
|
|
|
# MongoDB connection string.
|
|
export DBURL=mongodb://localhost:27017/ipfs-service-dev
|
|
|
|
export CONSUMER_ENV=production
|
|
|
|
# Lock the consumer into a preferred service provider.
|
|
#export PREFERRED_PROVIDER=12D3KooWEzE3HNH86WCb2Xocu6PgBCnSGUD7myJmuTHvoedMwp7K
|
|
|
|
npm start
|