Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 895 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 895 Bytes

Complete collection of Motum's API services

To run this bad boi

Install docker you douche, and then

docker-compose up

But before you do that, make sure you provide (either through .env file or by pre-populating your environment) following environment variables

  • ACCESS_TOKEN_SECRET - token used to sign access tokens provisioned by an API
  • REFRESH_TOKEN_SECRET - token used to sign refresh tokens provisioned by an API
  • PORT - port on which the whole service (API Gateway) will be served from
  • DATABASE_URL - posrgress URL to a database in format: postgresql://<username>:<password>@<hostname>:<port>/<database>?schema=<schema_name> (for e.g. postgresql://user:password@localhost:5432/motum?schema=public)

Unfourtunately you'll need to manually create empty .env files inside of the cloud-auth, cloud-user-registry and cloud-api-gateway folders