Skip to content

Cannot change port #189

Open
Open
@moritonal

Description

@moritonal

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 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions