Skip to content

trezor/trezor-suite-sync

Repository files navigation

Trezor Evolu Relay

Quota Manager (Payment Server)

Run

Run database (1st terminal):

cp .env.sample .env 
docker compose up

If you need to purge database for test purposed: docker rm postgres

Run node stuff (2nd terminal):

nvm i
yarn
yarn build
yarn start-quota-manager
yarn start-evolu-relay

You can change ports by setting the ENV variables:

QUOTA_MANAGER_PORT=1111 RELAY_PORT=2222 yarn start

Dev

nvm i
yarn dev

Kubernetes Deployment

Manifests live in .k8s/ and use Kustomize overlays for production and development.

Each overlay deploys:

  • evolu-relay -- Evolu sync relay (port 4000)
  • quota-manager -- Payment/quota server (port 4001)
  • postgres -- PostgreSQL StatefulSet with persistent storage

Production runs 2 replicas per service; development runs 1.

API

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors