You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking to use this as a side-car in an ECS setup and might just be missing something so feel free to refute.
The port here is hard-coded to 2000, and my Rails app is set to port 2000 as well. Normally a simple fix is to map the container port to a different host port, but in CDK ECS I cannot set thehostPort to anything different than containerPort.
I'll put together a PR that swaps it over to using environment vars, but I also might just be missing something obvious.
All the best
Tom
The text was updated successfully, but these errors were encountered:
Hi
Looking to use this as a side-car in an ECS setup and might just be missing something so feel free to refute.
The port here is hard-coded to 2000, and my Rails app is set to port 2000 as well. Normally a simple fix is to map the container port to a different host port, but in CDK ECS I cannot set the
hostPort
to anything different thancontainerPort
.I'll put together a PR that swaps it over to using environment vars, but I also might just be missing something obvious.
All the best
Tom
The text was updated successfully, but these errors were encountered: