Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HAProxy server listens on port 8443 and it forwards each request to Resource service or Traversal service. 


draw.io Diagram
bordertrue
diagramNameAAI Local Dev Env
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth341
revision1

Step-by-step guide

  1. Download Download  haproxy.cfgDownload aai.pemDownload Dockerfile
  2. Locate 3 files above in the same directory
  3. In your terminal type `$ docker build -t haproxy . `
  4. Run the HAProxy docker image by `$docker run -d -p 8443:8443 -p 8080:8080 --name my-haproxy haproxy`
  5. visit http://localhost:8080/stats to verify your HAProxy up and running

...

namehaproxy.cfg
height250
View file
nameDockerfile
height250
View file
nameaai.pem
height250
The only difference from haproxy.cfg file for Linux is 

< server aai-resources.api.simpledemo.openecomp.org aai-resources.api.simpledemo.openecomp.org:8447 port 8447 ssl verify none
=============================================
> server host.docker.internal host.docker.internal:8447 port 8447 ssl verify none

https://hub.docker.com/_/haproxy

...

Page properties
hiddentrue


Related issues

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyAAI-2871