简体   繁体   中英

ECR - Ngnix image with multiple sites

I'm working on the deployment of multiple websites with nginx. I want to use ECS for that and create Github actions for automatic deployment on commit. The problem is that I have multiple websites for the same company, and so on, multiple repositories. How can I automatically create an image (ngnix) from different repositories and push it into ECR?

For example, I have 3 repositories: simulator_1, simulator_2, and simulator_3, I want to automatically create a ngnix image that contains simulator_1, simulator_2, and simulator_3 and push it into ECR.

Thanks by advance

Finally, I chose to go to one image per repository / one ngnix server per repository, because it seems that ngnix doesn't take too much performance from the server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM