Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 53: Docker Compose Tutorial: Services, depends_on Healthchecks, Env Files, Profiles, Overrides, Scaling and Every Command: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Docker Compose का. साध्या docker run ने multi-container apps त्रासदायक.
उजळणी (Revision) card 1 of 9: Docker Compose का · PNG download करा · Card page उघडा

Lesson: 53.1 Why Compose: one file for the whole app

Compose service keys. प्रत्येक service थोड्याच keys ने बनते.
उजळणी (Revision) card 2 of 9: Compose service keys · PNG download करा · Card page उघडा

Lesson: 53.2 Service keys: build, image, command, environment, ports, restart

Healthchecks सोबत depends_on. Started म्हणजे ready नाही; लवकर connect केल्यास apps crash.
उजळणी (Revision) card 3 of 9: Healthchecks सोबत depends_on · PNG download करा · Card page उघडा

Lesson: 53.3 depends_on with healthchecks: start in the right order

Env files, interpolation आणि secrets. YAML न बदलता प्रत्येक environment ला config बदलायला हवं.
उजळणी (Revision) card 4 of 9: Env files, interpolation आणि secrets · PNG download करा · Card page उघडा

Lesson: 53.4 Environment files, interpolation and secrets

Compose मधले volumes आणि networks. Data आणि network design त्याच file मध्ये हवं.
उजळणी (Revision) card 5 of 9: Compose मधले volumes आणि networks · PNG download करा · Card page उघडा

Lesson: 53.5 Volumes and networks in Compose

Compose profiles. प्रत्येक वेळी प्रत्येक service सुरू व्हायला नको.
उजळणी (Revision) card 6 of 9: Compose profiles · PNG download करा · Card page उघडा

Lesson: 53.6 Profiles: optional services

Overrides, include आणि extends. Dev आणि prod थोडे वेगळे, पूर्ण नाही.
उजळणी (Revision) card 7 of 9: Overrides, include आणि extends · PNG download करा · Card page उघडा

Lesson: 53.7 Override files, multiple -f, include and extends

Scaling, watch आणि 3-tier app. खऱ्या apps ना layers असतात आणि load वर जास्त copies लागतात.
उजळणी (Revision) card 8 of 9: Scaling, watch आणि 3-tier app · PNG download करा · Card page उघडा

Lesson: 53.8 Scaling, watch mode and the full 3-tier stack

प्रत्येक docker compose command. रोजचं काम दहा commands पुन्हा पुन्हा वापरतं.
उजळणी (Revision) card 9 of 9: प्रत्येक docker compose command · PNG download करा · Card page उघडा

Lesson: 53.9 Every docker compose command: full reference

मुलाखत (Interview) cards

Docker Compose म्हणजे काय? compose.yaml मधून multi-container apps define आणि run करायचं tool. v2 म्हणजे docker compose plugin (space सह).
मुलाखत (Interview) card 1 of 9: Docker Compose म्हणजे काय? · PNG download करा · Card page उघडा

Lesson: 53.1 Why Compose: one file for the whole app

Compose मध्ये build vs image? image तयार image pull करतो; build context मधून build. दोन्ही असतील तर built image ला ते नाव.
मुलाखत (Interview) card 2 of 9: Compose मध्ये build vs image? · PNG download करा · Card page उघडा

Lesson: 53.2 Service keys: build, image, command, environment, ports, restart

depends_on DB ready होईपर्यंत थांबतो का? Default ने नाही; फक्त start क्रम. condition: service_healthy आणि db healthcheck सह थांबतो.
मुलाखत (Interview) card 3 of 9: depends_on DB ready होईपर्यंत थांबतो का? · PNG download करा · Card page उघडा

Lesson: 53.3 depends_on with healthchecks: start in the right order

.env vs env_file? .env Compose YAML मधल्या ${VAR} साठी वाचतो. env_file variables container मध्ये पाठवतो.
मुलाखत (Interview) card 4 of 9: .env vs env_file? · PNG download करा · Card page उघडा

Lesson: 53.4 Environment files, interpolation and secrets

docker compose down volumes delete करतो का? नाही. down containers आणि networks काढतो; named volumes साठी -v.
मुलाखत (Interview) card 5 of 9: docker compose down volumes delete करतो का? · PNG download करा · Card page उघडा

Lesson: 53.5 Volumes and networks in Compose

Compose profiles म्हणजे काय? Services वरचे labels; profile असलेल्या services तो profile enable केल्यावरच सुरू (--profile किंवा COMPOSE_PROFILES).
मुलाखत (Interview) card 6 of 9: Compose profiles म्हणजे काय? · PNG download करा · Card page उघडा

Lesson: 53.6 Profiles: optional services

Compose files merge कसा करतो? compose.yaml आणि compose.override.yaml आपोआप, किंवा -f list क्रमाने; नंतरचे values जिंकतात.
मुलाखत (Interview) card 7 of 9: Compose files merge कसा करतो? · PNG download करा · Card page उघडा

Lesson: 53.7 Override files, multiple -f, include and extends

ports: 8080:8080 सह --scale का fail? प्रत्येक copy तोच host port घेतो. फक्त container port publish करा किंवा पुढे proxy.
मुलाखत (Interview) card 8 of 9: ports: 8080:8080 सह --scale का fail? · PNG download करा · Card page उघडा

Lesson: 53.8 Scaling, watch mode and the full 3-tier stack

Compose मध्ये exec vs run? exec आधीच्या service container आत चालतो. run नवीन one-off container (--rm वापरा).
मुलाखत (Interview) card 9 of 9: Compose मध्ये exec vs run? · PNG download करा · Card page उघडा

Lesson: 53.9 Every docker compose command: full reference

तुलना (Comparison) cards

docker run vs docker compose. docker run: flags ने एक container.Compose: YAML ने अनेक services.
तुलना (Comparison) card 1 of 3: docker run vs docker compose · PNG download करा · Card page उघडा

Lesson: 53.1 Why Compose: one file for the whole app

.env vs env_file. .env: YAML मधले ${VAR} भरतो.env_file: container मध्ये vars.
तुलना (Comparison) card 2 of 3: .env vs env_file · PNG download करा · Card page उघडा

Lesson: 53.4 Environment files, interpolation and secrets

compose exec vs compose run. exec: चालू service आत.run: नवीन one-off container.
तुलना (Comparison) card 3 of 3: compose exec vs compose run · PNG download करा · Card page उघडा

Lesson: 53.9 Every docker compose command: full reference