Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add finastra token reporter #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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