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

Docker image for ECS server mode #569

Closed
synfinatic opened this issue Sep 14, 2023 · 1 comment
Closed

Docker image for ECS server mode #569

synfinatic opened this issue Sep 14, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@synfinatic
Copy link
Owner

Basically, once we get SSL/auth enabled (#518 and #516) would be great to have a docker image for running the ECS server.

Not a great fit for happening before SSL/auth because our current threat model assumes only localhost.

@synfinatic synfinatic added the enhancement New feature or request label Sep 14, 2023
@synfinatic synfinatic added this to the 1.16.0 milestone Jun 4, 2024
@synfinatic synfinatic removed this from the 1.16.0 milestone Jun 12, 2024
@synfinatic synfinatic added this to the 1.17.0 milestone Jun 30, 2024
@synfinatic
Copy link
Owner Author

So this is more complicated than initially expected:

  1. Need to listen on 0.0.0.0 for docker port forwarding to work (easy)
  2. Need to pass in the bearer token and SSL cert key pair, but at run time and not build time.
  3. These secrets are in the secure store and should not be exported for security purposes.

So basically I think I need to embed the Docker Go SDK to run the container and pass the secrets via ENV vars at run time? Also means a new ECS Cli command

synfinatic added a commit that referenced this issue Jul 4, 2024
synfinatic added a commit that referenced this issue Jul 5, 2024
- Build new `aws-sso-cli-ecs-server` image and publish on Docker Hub
- Makes it easy to run ecs server inside of a docker container as a
  local service
- Automatically configures the SSL key pair & bearer token for you

Fixes: #569
synfinatic added a commit that referenced this issue Jul 5, 2024
- Build new `aws-sso-cli-ecs-server` image and publish on Docker Hub
- Makes it easy to run ecs server inside of a docker container as a
  local service
- Automatically configures the SSL key pair & bearer token for you

Fixes: #569
synfinatic added a commit that referenced this issue Jul 5, 2024
- Build new `aws-sso-cli-ecs-server` image and publish on Docker Hub
- Makes it easy to run ecs server inside of a docker container as a
  local service
- Automatically configures the SSL key pair & bearer token for you

Fixes: #569
synfinatic added a commit that referenced this issue Jul 5, 2024
- Build new `aws-sso-cli-ecs-server` image and publish on Docker Hub
- Makes it easy to run ecs server inside of a docker container as a
  local service
- Automatically configures the SSL key pair & bearer token for you

Fixes: #569
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant