From f181d8b095d21f2fbc2e43aac388686ba1a3a2dd Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Tue, 28 Sep 2021 19:52:10 -0700 Subject: [PATCH] fix(docker): Matching ports to dev env --- production/docker/docker-compose.yml | 4 ++-- production/docker/start-production.sh | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/production/docker/docker-compose.yml b/production/docker/docker-compose.yml index 018cff1..7de7007 100644 --- a/production/docker/docker-compose.yml +++ b/production/docker/docker-compose.yml @@ -26,8 +26,8 @@ services: - mongo-ipfs-service ports: - '5001:5001' # : - - '4001:4001' # IPFS TCP - - '4003:4003' # IPFS WS + - '5268:5268' # IPFS TCP + - '5269:5269' # IPFS WS volumes: - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata restart: always diff --git a/production/docker/start-production.sh b/production/docker/start-production.sh index b1d6034..02a8402 100755 --- a/production/docker/start-production.sh +++ b/production/docker/start-production.sh @@ -11,10 +11,10 @@ export MNEMONIC="olive two muscle bottom coral ancient wait legend bronze useful 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 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 +export CR_DOMAIN=subdomain.yourdomain.com # Debug level. 0 = minimal info. 2 = max info. export DEBUG_LEVEL=1 @@ -26,8 +26,9 @@ export DEBUG_LEVEL=1 export DBURL=mongodb://172.17.0.1:5555/ipfs-service-prod # Configure IPFS ports -export IPFS_TCP_PORT=4001 -export IPFS_WS_PORT=4003 +export IPFS_TCP_PORT=5268 +export IPFS_WS_PORT=5269 + # Configure REST API port export PORT=5001