-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from ChronoBank/develop
Develop
- Loading branch information
Showing
5 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM node:8-slim | ||
ENV NETWORK_TYPE DEFAULT_NETWORK_TYPE | ||
ENV NPM_CONFIG_LOGLEVEL warn | ||
RUN apt update && \ | ||
apt install -y python make g++ git build-essential && \ | ||
npm install -g [email protected] && \ | ||
mkdir /app | ||
WORKDIR /app | ||
RUN git clone https://github.com/ChronoBank/Middleware.git src | ||
RUN cd src && \ | ||
npm -g install --unsafe-perm=true && \ | ||
node . middleware-eth-blockprocessor && \ | ||
node . middleware-eth-rest && \ | ||
node . middleware-eth-chrono-sc-processor && \ | ||
node . middleware-eth-balance-processor && \ | ||
node . middleware-eth-ipfs && \ | ||
node . middleware-eth-erc20 | ||
EXPOSE 8080 | ||
CMD pm2-docker start /mnt/config/${NETWORK_TYPE}/ecosystem.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"type": "service_account", | ||
"project_id": "deep-wares-144610", | ||
"private_key_id": "38f307c2c65b4e266864eac58f29f846a01841ef", | ||
"client_email": "[email protected]", | ||
"client_id": "100093443474996797417", | ||
"auth_uri": "https://accounts.google.com/o/oauth2/auth", | ||
"token_uri": "https://accounts.google.com/o/oauth2/token", | ||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", | ||
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/gcregistry%40deep-wares-144610.iam.gserviceaccount.com", | ||
"private_key": "PWD" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters