Skip to content

CDE Port mapping dance #419

Description

@JessyBarrette

CDE present deployment is bypassing a lot of the port routing from the docker-compose deployment via the nginx configuration which reroute all the calls via hardcoded container names

  • /api/ -> web-api/5000
  • / -> frontend/80

This restricts the deployment.

    listen 4000;
  
    location /api/ {
      proxy_pass http://web-api:5000/;
    }
    location / {
      proxy_pass http://frontend:80;
  
    }

We will bypass for now by creating a dedicated nginx image with the config:

              listen 4000;

              location /api/ {
                proxy_pass http://srv-captain-cde-web-api:5000/;
              }
              location / {
                proxy_pass http://srv-captain-cde-frontend:80;

              }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions