diff --git a/deploy-production.sh b/deploy-production.sh index 6064898..fbeda5d 100755 --- a/deploy-production.sh +++ b/deploy-production.sh @@ -9,7 +9,7 @@ export DATA="{\"ref\":\"$DEPLOY_SECRET\"}" #echo $DATA -curl -X POST http://fullstack.cash:9000/hooks/bch-api-mainnet -H "Content-Type: application/json" -d $DATA -curl -X POST http://fullstack.cash:9000/hooks/bch-api-testnet -H "Content-Type: application/json" -d $DATA +curl -X POST http://78.46.182.141:9000/hooks/bch-api-testnet -H "Content-Type: application/json" -d $DATA +#curl -X POST http://fullstack.cash:9000/hooks/bch-api-testnet -H "Content-Type: application/json" -d $DATA echo "...Finished deploying to production." diff --git a/docker/testnet/Dockerfile b/docker/testnet/Dockerfile index c18b162..0b2f239 100644 --- a/docker/testnet/Dockerfile +++ b/docker/testnet/Dockerfile @@ -21,7 +21,7 @@ RUN npm install # Generate documentation RUN npm run docs -EXPOSE 3000 +EXPOSE 4000 COPY start-local-testnet.sh start-local-testnet.sh CMD ["./start-local-testnet.sh"] diff --git a/docker/testnet/docker-compose.yml b/docker/testnet/docker-compose.yml index 887d79f..ae871a0 100644 --- a/docker/testnet/docker-compose.yml +++ b/docker/testnet/docker-compose.yml @@ -6,9 +6,9 @@ bch-api-test: links: - redis-test ports: - - "4000:3000" + - "4000:4000" volumes: - - ../../logs:/home/safeuser/bch-api/logs + - ../../logs:/home/safeuser/bch-api/logs restart: always redis-test: