bcgov / platform-services-registry-api

Platform services registry API
Apache License 2.0
2 stars 1 forks source link

Api devops #19

Closed w8896699 closed 2 years ago

w8896699 commented 2 years ago

I have updated some files so api can be run in the local docker container. Just like old registry, you will need to run

mkdir mongo_data

So that docker mongo can have place to store data.

Just like old registry, run docker-compse up

The only thing I don't like is api update needed to rebuild the image. Need to add vscode watch src change in the feature.

or, you can simply just use docker mongo but api is still run on terminal, just set mongohost to localhost:27017

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication