mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
31 lines
760 B
Bash
Executable File
31 lines
760 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# BEGIN: Optional configuration settings
|
|
|
|
# This mnemonic is used to set up persistent public key for e2ee
|
|
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
|
|
|
|
export DEBUG_LEVEL=2
|
|
|
|
# END: Optional configuration settings
|
|
|
|
|
|
# Production database connection string.
|
|
export DBURL=mongodb://172.17.0.1:5555/ipfs-service-prod
|
|
|
|
# Configure IPFS ports
|
|
export IPFS_TCP_PORT=4001
|
|
export IPFS_WS_PORT=4003
|
|
|
|
# Configure REST API port
|
|
export PORT=5001
|
|
|
|
export SVC_ENV=production
|
|
npm start
|