austin-personal / RegisterApp

Simple register web app built with node.js.
0 stars 0 forks source link

DIsconnecting dynamoDB in production #8

Open austin-personal opened 5 months ago

austin-personal commented 5 months ago

When I build the docker image, I do not replace AWS credentials to connect to AWS DynamoDB because I publicly upload my image.

To solve this problem,

  1. Replace AWS credentials and upload it to a private registry.
  2. Find a way to replace AWS credentials in deployment.
austin-personal commented 5 months ago

I changed to private registry. I have to create auth.json for private registry and adapt it to my dockerrun file.