Skip to content

VirtualWatershed/vw-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

vw-deploy

Docker compose files for the vw services

How to

Dev Environment

All we need is:

cd v1.0
docker-compose -f docker-compose.dev.yml up

It will make the following services available:

Service Desc URL
vwadaptor vw model webservice docker-machine-ip:5000
vwmonitor Celery monitor docker-machine-ip:5555
vwauth auth service for vw docker-machine-ip:5005
vwmail a local smtp mail server for testing docker-machine-ip:1080
vwworker worker service for vw X

To test out auth:

POST http://docker-machine-ip:5005/api/v1/auth
Content-Type: application/json

{
  "email":"[email protected]",
  "password":"123456",
}

It should return:

{
  "access_token": "some_jwt_token"
}
  • Now test it against vwadaptor service with:
GET http://docker-machine-ip:5000/testjwt
Content-Type: application/json
Authorization: JWT some_jwt_token

If everything goes right it should return:

About

Docker compose files for the vw services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published