Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Initial Setup:

  1. Configure your AWS profile: aws configure --profile sunwave-dev

  2. Pull and run the docker image with the wack-o-mole database: aws ecr get-login-password --region us-east-1 --profile sunwave-dev | docker login --username AWS --password-stdin 517729021141.dkr.ecr.us-east-1.amazonaws.com

  3. Verify the mysql database container is up and running: docker logs sunwave-mysql

Update to newest version:

  1. Stop the existing container: docker stop sunwave-mysql

  2. Remove the container: docker rm sunwave-mysql

  3. Remove the docker image: docker rmi 517729021141.dkr.ecr.us-east-1.amazonaws.com/sunwave-mysql:1.0.0-SNAPSHOT

  4. Pull the new image, create the container and run it: aws ecr get-login-password --region us-east-1 --profile sunwave-dev | docker login --username AWS --password-stdin 517729021141.dkr.ecr.us-east-1.amazonaws.com

  • No labels