761: Reverse proxy server deployment (nginx)

Test Case #: 761

Test Case Name: Reverse proxy server deployment (nginx)

System: OpenLMIS

Subsystem:Requisition, Template - service

Test case designed by: Anna Czyrko

Design Date:25.07.2016

Short description

Update the docker compose deployment to add a web proxy, nginx, configured to forward all requests to the appropriate service container. This will create a complete application that includes nginx, the requisition service, postgres and logging containers.

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

 

 

Step

Action

Expected system response

Comment

openlmis-requisition repository

1

Open Terminal. Enter:

docker-compose -f docker-compose.builder.yml run builder or sudo docker-compose -f docker-compose.builder.yml run builder

 

Should appear Build Success message.

2

In Terminal enter:

docker-compose -f docker-compose.builder.yml build image or sudo docker-compose -f docker-compose.builder.yml build image

Should appear Successfully build message.

3

In Terminal enter:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up or sudo docker-compose -f docker-compose.yml -f docker-compose.prod.yml up

 
openlmis-template-service repository
1

In Terminal enter:

docker-compose -f docker-compose.builder.yml run builder or sudo docker-compose -f docker-compose.builder.yml run builder


Should appear Build Success message.
2

In Terminal enter:

docker-compose -f docker-compose.builder.yml build image or sudo docker-compose -f docker-compose.builder.yml build image


Should appear Successfully build message.
3

In Terminal enter:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up or sudo docker-compose -f docker-compose.yml -f docker-compose.prod.yml up


 

 

Post – conditions:

                                                                                                                   

OpenLMIS: the global initiative for powerful LMIS software