Skip to content
This repository was archived by the owner on Jul 10, 2022. It is now read-only.

Files

Latest commit

 

History

History

service-auth_v1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

mockapi

Dockerized express microservice that exposes a simple endpoint and health checks

http://localhost:3005/app
http://localhost:3005/authenticate

http://localhost:9005/ready
http://localhost:9005/live
http://localhost:9005/health

References

docker build -t cloud.canister.io:5000/interop/service-auth:v1 .
docker run -p 3005:3005 -p 9005:9005 cloud.canister.io:5000/interop/service-auth:v1

# Tag image
docker tag mockapi/service-auth:v1 cloud.canister.io:5000/interop/service-auth:v1

# Push image
docker push cloud.canister.io:5000/interop/service-auth:v1

Build

cd src/
gulp

Info

PORT=80