دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Emmanouil Gkatziouras
سری:
ISBN (شابک) : 1803234369, 9781803234366
ناشر: Packt Publishing
سال نشر: 2022
تعداد صفحات: 264
زبان: English
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 4 Mb
در صورت تبدیل فایل کتاب A Developer's Essential Guide to Docker Compose: Simplify the development and orchestration of multi-container applications به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب راهنمای ضروری یک توسعه دهنده برای Docker Compose: ساده سازی توسعه و هماهنگ سازی برنامه های کاربردی چند کانتینری نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
تعریف زیرساخت خود را با استفاده از Docker Compose شروع کنید و از آن برای توسعه یا استقرار روزمره استفاده کنید
توسعه نرمافزار به دلیل استفاده از اجزای مختلف نرمافزار پیچیدهتر میشود. برنامه ها باید با اجزای نرم افزاری بسته بندی شوند تا عملیات آنها تسهیل شود و اجرای آنها پیچیده شود. با Docker Compose، یک فرمان میتواند برنامه شما و وابستگیهای مورد نیاز را تنظیم کند.
این کتاب با مروری بر Docker Compose و استفاده از آن شروع میشود و سپس نحوه ایجاد یک فایل را نشان میدهد. کاربرد. شما همچنین با اصول حجم و شبکه Docker، به همراه دستورات Compose، هدف آنها و موارد استفاده آشنا خواهید شد. در مرحله بعد، با استفاده از Compose پایگاههای اطلاعاتی را برای استفاده روزانه تنظیم میکنید و با استفاده از شبکه Docker، ارتباط بین میکروسرویسها را برقرار میکنید. همچنین کل پشته ها را به صورت محلی در Compose اجرا می کنید، محیط های تولید را شبیه سازی می کنید، و کارهای CI/CD را با استفاده از Docker Compose بهبود می بخشید. فصلهای بعدی به شما نشان میدهند که چگونه از Docker Compose برای استقرار تولید، ارائه زیرساختها در ابرهای عمومی مانند AWS و Azure، و تکمیل استقرار Compose در زیرساختهای مذکور، بهرهمند شوید.
در پایان این کتاب، نحوه استفاده موثر از Docker Compose برای توسعه روزمره را خواهید آموخت.
این کتاب برای مهندسان نرمافزار، حامیان توسعهدهنده، و مهندسان DevOps که به دنبال راهاندازی برنامههای Docker چند کانتینری با استفاده از Compose بدون نیاز به راهاندازی موتور ارکستراسیون Docker هستند. همچنین برای رهبران تیمی است که به دنبال افزایش بهرهوری تیمهای نرمافزاری سازمان با سادهسازی ارائه محیطهای توسعه پیچیده به صورت محلی با استفاده از Docker Compose هستند. از خوانندگان انتظار می رود که Containerization را درک کنند و برای شروع کار با این کتاب باید دانش اساسی Docker را داشته باشند.
Start defining your infrastructure using Docker Compose and leverage it for everyday development or deployment
Software development is becoming increasingly complex due to the various software components used. Applications need to be packaged with software components to facilitate their operations, making it complicated to run them. With Docker Compose, a single command can set up your application and the needed dependencies.
This book starts with an overview of Docker Compose and its usage and then shows how to create an application. You will also get to grips with the fundamentals of Docker volumes and network, along with Compose commands, their purpose, and use cases. Next, you will set up databases for daily usage using Compose and, leveraging Docker networking, you will establish communication between microservices. You will also run entire stacks locally on Compose, simulate production environments, and enhance CI/CD jobs using Docker Compose. Later chapters will show you how to benefit from Docker Compose for production deployments, provision infrastructure on public clouds such as AWS and Azure, and wrap up with Compose deployments on said infrastructure.
By the end of this book, you will have learned how to effectively utilize Docker Compose for day-to-day development.
This book is for software engineers, developer advocates, and DevOps engineers looking to set up multi-container Docker applications using Compose without the need to set up a Docker orchestration engine. It is also for team leads looking to increase the productivity of an organization's software teams by streamlining the provisioning of complex development environments locally using Docker Compose. Readers are expected to understand containerization and must possess fundamental Docker knowledge to get started with this book.
Cover Title Page Copyright Contributors Table of Contents Preface Part 1: Docker Compose 101 Chapter 1: Introduction to Docker Compose Technical requirements Introducing Docker Compose and its usage Installing Docker Compose Docker Desktop Installing Docker docker compose versus docker-compose Understanding how Docker Compose works Your first Docker Compose file Using your Docker image on Docker Compose Summary Chapter 2: Running the First Application Using Compose Technical requirements Creating a core application Installing Go A REST API in Go using Gin The application Running Redis using Compose Shelling into a container managed by Compose Interacting with a Docker Compose service Packaging your application with Docker and Compose Enabling environment configuration Docker image creation Running the image Build an image using Compose Running your multi-container application using Compose Health check Depending on services Labels Images Containers Summary Chapter 3: Network and Volumes Fundamentals Technical requirements Explaining Docker volumes Attaching a Docker volume to a container Shared volumes Read-only volumes Docker volume drivers Using a volume driver versus mounting locally Declaring Docker volumes on Compose files Attaching Docker volumes to an existing application Creating a configuration file Mounting a file using volume Mounting read-only volumes Docker networking Bridge Host Overlay Defining networks on a Compose configuration Adding an extra network to the current application Summary Chapter 4: Executing Docker Compose Commands Technical requirements Introducing Compose commands The Docker CLI versus Compose commands Setting up the target application Provisioning commands build create up Container commands exec run pause unpause start and stop restart kill ps Cleanup commands down rm Image commands List images Pulling images Pushing images Local Docker registry on Compose Pushing to the local registry Monitoring commands Logs top Events Other commands help version port config Summary Part 2: Daily Development with Docker Compose Chapter 5: Connecting Microservices Technical requirements Introducing the location microservice Adding a location service to Compose Adding a network for the location microservice Executing requests to the location microservice Streaming task events Adding a task events processing microservice Summary Chapter 6: Monitoring Services with Prometheus What is Prometheus? Adding an endpoint for Prometheus Adding the metrics endpoint to the Task Manager Adding the metrics endpoint to the location service Exporting metrics from the Event Service Configuring Prometheus to parse metrics Adding Prometheus to the Compose network Pushing metrics to Prometheus Creating your first metrics query Adding an alert Summary Chapter 7: Combining Compose Files Technical requirements Splitting Compose files Task Manager base Location service Event service Task Manager Prometheus Combining Compose files Selecting the Compose files to run Using Hoverfly Extending services Capturing traffic with Hoverfly Creating mock applications using Ηoverfly Creating different environments Running with capturing enabled Running with monitoring disabled Running applications individually Combining multiple Compose files into one Using config Summary Chapter 8: Simulating Production Locally Technical requirements Segregating private and public workloads Setting up DynamoDB locally Creating DynamoDB tables Interacting with the Local DynamoDB Setting up SQS locally Setting up S3 locally Setting up a REST-based Lambda function Setting up an SQS-based Lambda function Docker Compose links Connecting the Lambda functions Summary Chapter 9: Creating Advanced CI/CD Tasks Technical requirements Introduction to CI/CD Using Docker Compose with GitHub Actions Creating your first GitHub Action Caching built images Building application images Testing your Compose application Using Docker Compose with Bitbucket pipelines Creating your first Bitbucket pipeline Caching Compose and Docker images Building application images Testing your Compose application Using Docker Compose with Travis Creating your first Travis job Caching Compose Building application images Testing your Compose application Summary Part 3: Deployment with Docker Compose Chapter 10: Deploying Docker Compose Using Remote Hosts Technical requirements Docker remote hosts Creating a remote Docker host Creating a Docker host on AWS EC2 Using the remote Docker host Docker Contexts Deploying Compose to remote hosts Executing remote host deployments through your IDE Summary Chapter 11: Deploying Docker Compose to AWS Technical requirements Introduction to AWS ECS Hosting your Docker images on AWS ECR Provision ECR using AWS CLI Provision ECR using Terraform Storing a Terraform state file Pushing images to ECR Adapting the Compose application images Deploying your application to an ECS cluster Running your Compose application to an existing cluster Creating a log group Creating a private network Security groups Configuring the ECS cluster and the load balancer Updating the Compose file Running your Compose application on existing infrastructure Advanced Docker Compose concepts on ECS Updating the application Scaling the application Using secrets Summary Chapter 12: Deploying Docker Compose to Azure Technical requirements An introduction to ACI Pushing to an Azure container registry Storing the Terraform state file Deploying on ACI Summary Chapter 13: Migrating to Kubernetes Configuration Using Compose Technical requirements Introduction to Kubernetes Kubernetes components and Compose Compose applications versus namespaces Compose services versus Kubernetes services Labels Compose networks versus network policies Using Kompose to convert files Introduction to Minikube Deploying to Kubernetes Summary Index About Packt Other Books You May Enjoy