Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.
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
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ x-masa-testnet-node-v10-def:
services:
ui:
extends:
file: ./src/ui/docker-compose.yml
file: ./ui/docker-compose.yml
service: ui
masa-node:
<< : *masa-testnet-node-v10-def
Expand Down
27 changes: 27 additions & 0 deletions ui/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Masa Node

## Node UI
### Specification
- React.js & Typescript
- Docker for deployment
### Config
```
# pull the official base image
FROM node:16
# set working direction
WORKDIR /app
# install application dependencies
COPY package.json ./
COPY package-lock.json ./
RUN npm i
# add app
COPY . ./
# start app
CMD ["npm", "start"]
```
### Running
`docker-compose up ui`

Navigate to you local host to interact with the Masa Node
`http://localhost:3000`

6 changes: 6 additions & 0 deletions ui/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: '3.6'
services:
ui:
image: masafinance/node-ui
ports:
- 3000:3000