Skip to content

Proxy to provide single endpoint for the different DURAARK services.

License

Notifications You must be signed in to change notification settings

DURAARK/api-gatekeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-gatekeeper

API-Gateway to orchestrate the shape of the DURAARK platform API.

Setup

This is a simple nginx server setup with a single configuration file at /etc/nginx/sites-enabled/duraark-platform-api.conf.

To add a new service on a specific endpoint add a block like this to the file:

location /api/v0.4/myservice/ {
    proxy_pass http://myservice:5000/;
}

This will add a new endpoint at /api/v0.4/myservice which will be proxied to the http://myservice:5000 service.

Installation

The repository contains the two files

  • build-service.sh
  • start-service.sh

to build and start the service as a docker container on port 80. This can be changed in the 'start-service.sh' script.

About

Proxy to provide single endpoint for the different DURAARK services.

Resources

License

Stars

Watchers

Forks

Packages

No packages published