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

40 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
# 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.
# You can get one at https://wallet.fullstack.cash.
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
# For browsers to use your circuit realy, you must set up a domain, SSL certificate,
# and you must forward that subdomain to the IPFS_WS_PORT.
#export CR_DOMAIN=subdomain.yourdomain.com
# END: Optional configuration settings
# Production database connection string.
export DBURL=mongodb://172.17.0.1:5555/ipfs-service-prod
# Configure REST API port
2021-12-29 17:46:05 -08:00
export PORT=5010
2021-12-29 17:46:05 -08:00
# Production settings using external go-ipfs node.
2023-10-28 11:24:40 -07:00
export SVC_ENV=prod
2021-12-29 17:46:05 -08:00
export IPFS_HOST=172.17.0.1
export IPFS_API_PORT=5001
export IPFS_TCP_PORT=4001
2022-07-25 17:56:02 -07:00
export IPFS_WS_PORT=4003
2021-12-29 17:46:05 -08:00
2023-10-28 11:24:40 -07:00
# Set the debug level for helia-coord. 0-3.
# 0 = no debug logs. 3 = maximum debug logs.
export DEBUG_LEVEL=0
npm start