Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portmapping stuck to pointing at container:3000 #553

Closed
davidsiaw opened this issue Feb 27, 2020 · 0 comments · Fixed by #583 or degica/barcelona-cli#27
Closed

Portmapping stuck to pointing at container:3000 #553

davidsiaw opened this issue Feb 27, 2020 · 0 comments · Fixed by #583 or degica/barcelona-cli#27

Comments

@davidsiaw
Copy link
Contributor

davidsiaw commented Feb 27, 2020

Context

For some reason even when

    services:
        port_mappings:
          - lb_port: 80
            container_port: 8080

is set, the container port used continues to be set to port 3000.

スクリーンショット 2020-02-27 11 09 34

How to test

You will need a district

  1. Check out git clone https://github.com/degica/barcelona-hello
  2. cd barcelona-hello
  3. Create a barcelona endpoint bcn endpoint create --public --district=<name> hello2
  4. Create a service bcn create -e hello -d <name>
  5. Log in to aws and notice that the task definition points to port 3000 on the container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant