Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 932 Bytes

BUILD.md

File metadata and controls

20 lines (13 loc) · 932 Bytes

Console Monorepo

Projects

  • Deploy - NextJS frontend for Console
  • Stats - NextJS frontend for Stats
  • Api - The main Console API
  • Indexer - The main indexer process
  • Database - Database shared package
  • UI - UI components shared

Create docker images

./build.ps1 (web|api|indexer|notifications) [version] [-deploy]

The image version can be set by passing a second argument or by using the -version parameter. If it is not specified it will be parsed from the package.json.

If the -deploy flag is set, the vm instance will be updated to the new version. There will be a downtime of ~2min while the vm restarts. Only works for the API.

The script will use the docker username of the current user (parsed from the docker-credential-desktop list command).