Closed jarrah42 closed 3 years ago
Compose application whith HTTP services only (using ports 80/443 or x-aws-protocol
set to http) get an Application Load Balancer created, otherwise a Network Load Balancer is required.
Your application has neo4j service to expose ports 7474 and 7687. If those are actually for HTTP(s) protocol, add an x-aws-protocol
element to the port definition to inform ECS integration this one does not require raw TCP routing.
Thank you!
Description
I am trying to use an existing application load balancer with my compose script. According to https://docs.docker.com/cloud/ecs-integration, I should be able to create an application load balancer, and then reference it using x-aws-loadbalancer. However, when I try this,
docker compose up
exits with the message:Steps to reproduce the issue:
docker-compose.yml
docker --context=aws compose up
ordocker --context=aws compose convert
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker context show
:You can also run
docker context inspect context-name
to give us more details but don't forget to remove sensitive content.Output of
docker info
:Additional environment details (AWS ECS, Azure ACI, local, etc.):
AWS ECS