thiagoelg commented on issue #1776:
URL: 
https://github.com/apache/incubator-kie-issues/issues/1776#issuecomment-2607683072

   I think the issue is with: `- "CORS_PROXY_HTTP_PORT=8090"`
   
   This environment variable maps the CORS Proxy service running inside the 
container to the 8090 port, but the exposed (and mapped) port is actually 8080.
   
   Those env vars are not necessary when running inside a container, so I would 
remove them and try again:
   
   ```yml
   services:
   
       kie-sandbox-extended-services:
           container_name: kie-sandbox-extended-services
           image: apache/incubator-kie-sandbox-extended-services:10.0.0
           ports:
               - 21345:21345
   
       cors-proxy:
           container_name: cors-proxy
           image: apache/incubator-kie-cors-proxy:10.0.0
           ports:
               - 8081:8080
   
       kie-sandbox:
           container_name: kie-sandbox
           image: apache/incubator-kie-sandbox-webapp:10.0.0
           depends_on:
               - kie-sandbox-extended-services
               - cors-proxy
           environment:
               - "KIE_SANDBOX_EXTENDED_SERVICES_URL=http://localhost:21345";
               - "CORS_PROXY_URL=http://localhost:8081";
           ports:
               - 8090:8080
   ```
   
   Check out our docker-compose here: 
https://github.com/apache/incubator-kie-tools/blob/10.0.x/packages/kie-sandbox-distribution/docker-compose.yaml
 (ignore the `KIE_SANDBOX_DISTRIBUTION__*` variables, as they are replace 
during build).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to