![]() It utilizes a volume to map the contents of the web directory to the defined WORKDIR for that image. I find that combining the whole web tier into one service is the simplest approach, as opposed to deploying a separate service for the frontend. The web service is responsible for the React frontend and the Django API. You can follow along with the dev-setup branch for this article.įigure 1: Docker Development Setup Visualization Please note that depending on when you are reading this article, the master branch may already have had a few changes. This includes the docker-compose.yml file and the Dockerfile for each service defined. Throughout this article, I'll be referencing the Starter Kit that I host on Gitlab. This leads to a better deployment pipeline for continuous delivery (CD), tying together our DevOps Lifecycle. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |