Sign inSign up

danielmigchels/vll.gateway

By danielmigchels

•Updated over 6 years ago

Image
0

2.6K

danielmigchels/vll.gateway repository overview

⁠vll.gateway

The gateway code for the VLL project

⁠environment variables

The connection to the microservices is dependent on a number of Environmental Variables being set while running the application. These variables can be set a number of ways, but the easiest right now is via the IDEA itself. Edit the run configuration for the Spring application and add the following to the VM options box:

-Dzuul.routes.account.url=http://localhost:3000/account
-Dzuul.routes.articles.url=http://localhost:8081/dataset
-Dzuul.routes.auth-service.url=http://localhost:8082

The following variables have to be set for the JWT to work.

-Dsecurity.jwt.uri=/auth/login
-Dsecurity.jwt.header=Authorization
-Dsecurity.jwt.prefix=Bearer
-Dsecurity.jwt.expiration=86400
-Dsecurity.jwt.secret=kigsDlu8LnRTIDC3HCYLPevwLvCsejcNqQO9wvZQiPlhRaI1JFmaIHTJL5BfSZ3

Tag summary

Content type

Image

Digest

Size

105.8 MB

Last updated

over 6 years ago

docker pull danielmigchels/vll.gateway