add mango-bowl

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2021-12-17 22:20:01 +01:00
parent 2859d8185a
commit 42aeace9b7
5 changed files with 9 additions and 5 deletions

3
.gitmodules vendored
View File

@ -0,0 +1,3 @@
[submodule "mango-bowl"]
path = mango-bowl
url = https://github.com/tardis-dev/mango-bowl

View File

@ -14,7 +14,7 @@ Directory structure
.
├── README.md
├── mango-service-v3 - REST API Service for mango markets version 3
├── mango-vial - WEBSOCKET API Service for L1, L2 orderbook data for mango markets version 3
├── mango-bowl - WEBSOCKET API Service for L1, L2 orderbook data for mango markets version 3
└── py - python3 client for above REST API Service
```

View File

@ -11,8 +11,8 @@ services:
- GROUP_NAME=mainnet.1
- CLUSTER_URL=${CLUSTER_URL} # configure custom RPC node
- PRIVATE_KEY_PATH=/root/.config/solana/id.json # configure path to private keypair here
mango-vial:
build: "mango-vial"
mango-bowl:
build: "mango-bowl"
ports:
- "8000:8000"
environment:
@ -23,4 +23,4 @@ services:
ports:
- "80:80"
volumes:
- ./nginx.conf/:/etc/nginx/nginx.conf # custom config which unifies mango-service-v3 and mango-vial
- ./nginx.conf/:/etc/nginx/nginx.conf # custom config which unifies mango-service-v3 and mango-bowl

1
mango-bowl Submodule

@ -0,0 +1 @@
Subproject commit 7865688be6b261adc7ffb8f67e579e7efd5ad74b

View File

@ -17,7 +17,7 @@ http {
}
upstream ws-api {
server mango-vial:8000;
server mango-bowl:8000;
}
server {