Files
ipfs-bch-wallet-service/production/docker/start-production.sh
T

37 lines
1.1 KiB
Bash
Raw Normal View History

2021-07-13 12:34:51 -07:00
#!/bin/bash
2021-07-17 10:54:00 -07:00
# BEGIN: Optional configuration settings
# This mnemonic is used to set up persistent public key for e2ee
2021-08-26 10:27:22 -07:00
# Replace this with your own 12-word mnemonic.
export MNEMONIC="olive two muscle bottom coral ancient wait legend bronze useful process session"
# The human readable name this IPFS node identifies as.
export COORD_NAME=ipfs-service-provider-generic
# Allow this node to function as a circuit relay. It must not be behind a firewall.
#export ENABLE_CIRCUIT_RELAY=true
2021-08-26 10:27:22 -07:00
# Debug level. 0 = minimal info. 2 = max info.
export DEBUG_LEVEL=1
# END: Optional configuration settings
# Production database connection string.
export DBURL=mongodb://172.17.0.1:5555/ipfs-service-prod
2021-07-17 10:54:00 -07:00
# Customize these environment variables for your own installation.
export AUTHSERVER=https://auth.fullstack.cash
export APISERVER=https://api.fullstack.cash/v5/
export FULLSTACKLOGIN=demo@demo.com
export FULLSTACKPASS=demo
# Ports
export PORT=5001 # REST API
export IPFS_TCP_PORT=5668 # IPSF TCP Port
export IPFS_WS_PORT=5669 # IPFS WS Port
export SVC_ENV=production
2021-07-13 12:34:51 -07:00
npm start