Plan A
- Building a docker image for each Angular app
- Using the docker image independently probably in a separate container for each angular app
- One Nginx container that will host all the pluggable containers
So, step 1 and 2 and are straight forward, however, the part to make the containers pluggable to Nginx is not very clear to me. My main plan is to have each app as a separate service so that when I push changes I can restart the target service, not the whole platform.
Any ideas how make the containers pluggable or some different approach?
Plan B
To have all the apps into separate volume like vol-ngapp1,vol-ngapp2 attached to the Nginx container, however, how would I do the update procedure that way? - Do I need to restart the whole container or what?
Need plan C :) or something til Z :D.
Thanks.