Skip to content

Commit

Permalink
feat: add finastra token reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
94810 committed Sep 9, 2022
1 parent e3e7f99 commit 53e9f3f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "finastra-token-reporter"]
path = finastra-token-reporter
url = https://github.com/castframework/finastra-token-reporter.git
4 changes: 4 additions & 0 deletions bin/init
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ source $NVM_DIR/nvm.sh
nvm use
lerna bootstrap --strict --hoist

cd "${PRJT_ROOT}finastra-token-reporter"
npm install
cd "${PRJT_ROOT}"

${CCR}/keyset-maker

${CCR}/build
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,23 @@ services:
AUTO_UPDATE: 'true'
volumes:
- ./mkdocs:/mkdocs/
mongo:
container_name: mongo
image: 'mongo:latest'
restart: always
ports:
- '27017:27017'
finastra-reporter:
container_name: finastra-reporter
image: 'node:16.9.1-alpine3.14'
working_dir: /home/node/reporter
environment:
- PORT=3000
- FIO_GQL_ENDPOINT=http://fio1:6660/graphql
- CORS_WHITELIST=https://finastra-cast-challenge.netlify.app,http://localhost:3000
- MONGO_URI=mongodb://mongo:27017
command: npm run start
ports:
- '3000:3000'
volumes:
- './finastra-token-reporter:/home/node/reporter'
1 change: 1 addition & 0 deletions finastra-token-reporter

0 comments on commit 53e9f3f

Please sign in to comment.