From e91dd7f834dba3435508251ebb5bf16978dec248 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 17 Jul 2021 20:16:19 +0200 Subject: [PATCH] feat(production): Adjusting production settings --- docker-compose.yml | 8 ++++---- production/start-production | 13 +++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6279a0a..c7ea8c1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ bch-wallet-mongodb: image: mongo container_name: mongo-bch-service ports: - - '5555:27017' # : + - '5704:27017' # : volumes: - ./database:/data/db command: mongod --logpath=/dev/null # -- quiet @@ -18,9 +18,9 @@ bch-wallet-service: - bch-wallet-mongodb ports: # : - - '5001:5001' # REST API - - '5668:5668' # IPFS TCP Port - - '5669:5669' # IPFS WS Port + - '5700:5700' # REST API + - '5701:5701' # IPFS TCP Port + - '5702:5702' # IPFS WS Port volumes: - ./ipfsdata:/home/safeuser/ipfsdata - ./orbitdb:/home/safeuser/orbitdb diff --git a/production/start-production b/production/start-production index 10b92e3..d9d38a5 100755 --- a/production/start-production +++ b/production/start-production @@ -3,15 +3,16 @@ # 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 +export FULLSTACKLOGIN=bch-ipfs@bchtest.net +export FULLSTACKPASS=bchoveripfs # Ports -export PORT=5001 # REST API -export IPFS_TCP_PORT=5668 # IPSF TCP Port -export IPFS_WS_PORT=5669 # IPFS WS Port +export PORT=5700 # REST API +export IPFS_TCP_PORT=5701 # IPSF TCP Port +export IPFS_WS_PORT=5701 # IPFS WS Port -#export ENABLE_CIRCUIT_RELAY=1 +export ENABLE_CIRCUIT_RELAY=1 export SVC_ENV=production npm start +