Skip to content

Instantly share code, notes, and snippets.

@EBashkoff
Created November 22, 2016 21:38
Show Gist options
  • Save EBashkoff/a6fc51081ad43274af477bb627967eb5 to your computer and use it in GitHub Desktop.
Save EBashkoff/a6fc51081ad43274af477bb627967eb5 to your computer and use it in GitHub Desktop.
Pull docker image from AWS and run it locally
1. Log into AWS TPHub Dev via move.okta.com.
2. Go to EC2 Container Service and find the realsuite-widgets-respond app - click on it.
3. Click on "Tasks" tab.
4. Click on the Task Definition.
5. Get the Docker Image Definition and copy it to the clipboard.
6. In your local terminal:
$ docker-machine stop
$ docker-machine start default
$ eval $(docker-machine env default)
$ docker run -p 80:8000 -e NODE_ENV='development' -e ENV_PROFILE='development' -e REALSUITE_URL='http://controllo.local' docker.moveaws.com:443/prosoft/prosoft-realsuite-widget:2.0.0.4340.71b6b8f
(replace the last parameter with the Docker Image Definition URL you copied to the clipboard)
In your browser, visit http://controllo.local/dashboard
If necessary, change the RealSuite URL in doris-staging environment variables to http://controllo.local/api if you want to be able to claim and refer leads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment