From fee68e0f59bf5700da66e53a50e617084fa89f81 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 7 Apr 2024 14:38:40 -0700 Subject: [PATCH] fix(docker): Changing ports to comply with cashstack.info --- production/docker/Dockerfile | 2 +- production/docker/docker-compose.yml | 8 ++++---- production/docker/start-production.sh | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/production/docker/Dockerfile b/production/docker/Dockerfile index 0bed1c1..19bd610 100644 --- a/production/docker/Dockerfile +++ b/production/docker/Dockerfile @@ -69,7 +69,7 @@ RUN npm run docs VOLUME /home/safeuser/keys # Expose the port the API will be served on. -EXPOSE 5010 +#EXPOSE 5010 # Start the application. #COPY start-production.sh start-production.sh diff --git a/production/docker/docker-compose.yml b/production/docker/docker-compose.yml index 9f968d6..2a2505d 100644 --- a/production/docker/docker-compose.yml +++ b/production/docker/docker-compose.yml @@ -7,7 +7,7 @@ services: image: mongo:4.2.0 container_name: mongo-bch-consumer ports: - - '5555:27017' # : + - '5558:27017' # : volumes: - ../data/database:/data/db command: mongod --logpath=/dev/null # -- quiet @@ -26,9 +26,9 @@ services: links: - mongo-bch-consumer ports: - - '5010:5010' # : - - '4001:4001' - - '4003:4003' + - '5015:5015' # : + - '4101:4101' + - '4103:4103' volumes: - ../data/ipfsdata:/home/safeuser/ipfs-bch-wallet-consumer/.ipfsdata - ./start-production.sh:/home/safeuser/ipfs-bch-wallet-consumer/start-production.sh diff --git a/production/docker/start-production.sh b/production/docker/start-production.sh index a809ac2..1c33937 100755 --- a/production/docker/start-production.sh +++ b/production/docker/start-production.sh @@ -20,17 +20,17 @@ export COORD_NAME=bch-consumer-generic # Production database connection string. -export DBURL=mongodb://172.17.0.1:5555/ipfs-bch-consumer-prod +export DBURL=mongodb://172.17.0.1:5558/ipfs-bch-consumer-prod # Configure REST API port -export PORT=5010 +export PORT=5015 # Production settings using external go-ipfs node. export SVC_ENV=prod export IPFS_HOST=172.17.0.1 export IPFS_API_PORT=5001 -export IPFS_TCP_PORT=4001 -export IPFS_WS_PORT=4003 +export IPFS_TCP_PORT=4101 +export IPFS_WS_PORT=4103 # Set the debug level for helia-coord. 0-3. # 0 = no debug logs. 3 = maximum debug logs.