mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 01:02:05 -07:00
Changing testnet to port 4000
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user