Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 54: Dockerfile Examples for Node.js, Python Flask and Django, Spring Boot, .NET, Go, PHP, nginx, MySQL, Postgres and Redis: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Node.js app Dockerize करा. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 1 of 9: Node.js app Dockerize करा · PNG download करा · Card page उघडा

Lesson: 54.1 Node.js Dockerfile (Express) for production

Flask आणि Django Dockerize करा. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 2 of 9: Flask आणि Django Dockerize करा · PNG download करा · Card page उघडा

Lesson: 54.2 Python Flask and Django Dockerfiles

Spring Boot Dockerize करा. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 3 of 9: Spring Boot Dockerize करा · PNG download करा · Card page उघडा

Lesson: 54.3 Java Spring Boot Dockerfile with layered jars

.NET Dockerize करा. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 4 of 9: .NET Dockerize करा · PNG download करा · Card page उघडा

Lesson: 54.4 .NET 8 ASP.NET Core Dockerfile

Go app Dockerize करा. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 5 of 9: Go app Dockerize करा · PNG download करा · Card page उघडा

Lesson: 54.5 Go Dockerfile with scratch or distroless

nginx सोबत PHP-FPM. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 6 of 9: nginx सोबत PHP-FPM · PNG download करा · Card page उघडा

Lesson: 54.6 PHP-FPM with nginx Dockerfile (Laravel style)

Container म्हणून nginx. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 7 of 9: Container म्हणून nginx · PNG download करा · Card page उघडा

Lesson: 54.7 nginx as a static site and reverse proxy

Containers मध्ये MySQL आणि Postgres. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 8 of 9: Containers मध्ये MySQL आणि Postgres · PNG download करा · Card page उघडा

Lesson: 54.8 MySQL and Postgres containers done right

Container मध्ये Redis. प्रत्येक stack चा स्वतःचा उत्तम Dockerfile pattern असतो.
उजळणी (Revision) card 9 of 9: Container मध्ये Redis · PNG download करा · Card page उघडा

Lesson: 54.9 Redis container with persistence and a password

मुलाखत (Interview) cards

Docker मध्ये npm install ऐवजी npm ci का? npm ci package-lock नुसारच install करतो, जलद, mismatch वर fail: repeatable builds.
मुलाखत (Interview) card 1 of 9: Docker मध्ये npm install ऐवजी npm ci का? · PNG download करा · Card page उघडा

Lesson: 54.1 Node.js Dockerfile (Express) for production

Container मध्ये flask run ऐवजी gunicorn का? Dev server single-threaded आणि production साठी असुरक्षित; gunicorn worker processes चालवतो आणि signals हाताळतो.
मुलाखत (Interview) card 2 of 9: Container मध्ये flask run ऐवजी gunicorn का? · PNG download करा · Card page उघडा

Lesson: 54.2 Python Flask and Django Dockerfiles

Container मध्ये Java memory कशी ठरवता? नवीन JVMs cgroup limit वाचतात; -XX:MaxRAMPercentage=75 ने heap आणि overhead --memory खाली.
मुलाखत (Interview) card 3 of 9: Container मध्ये Java memory कशी ठरवता? · PNG download करा · Card page उघडा

Lesson: 54.3 Java Spring Boot Dockerfile with layered jars

.NET साठी दोन images का? SDK (compilers) मोठी; aspnet runtime खूप लहान आणि सुरक्षित. .NET 8 images 8080 वर listen आणि non-root चालू शकतात.
मुलाखत (Interview) card 4 of 9: .NET साठी दोन images का? · PNG download करा · Card page उघडा

Lesson: 54.4 .NET 8 ASP.NET Core Dockerfile

Go image scratch का वापरू शकते? CGO_ENABLED=0 ने binary ला libc लागत नाही. HTTPS साठी CA certificates (किंवा distroless).
मुलाखत (Interview) card 5 of 9: Go image scratch का वापरू शकते? · PNG download करा · Card page उघडा

Lesson: 54.5 Go Dockerfile with scratch or distroless

nginx आणि PHP-FPM वेगळे containers का? एका container मध्ये एक process: प्रत्येक वेगळा scale, update. nginx fastcgi_pass ने php:9000 शी बोलतो.
मुलाखत (Interview) card 6 of 9: nginx आणि PHP-FPM वेगळे containers का? · PNG download करा · Card page उघडा

Lesson: 54.6 PHP-FPM with nginx Dockerfile (Laravel style)

Container मध्ये nginx config reload कसा? आधी test मग reload: docker exec web nginx -t आणि docker exec web nginx -s reload.
मुलाखत (Interview) card 7 of 9: Container मध्ये nginx config reload कसा? · PNG download करा · Card page उघडा

Lesson: 54.7 nginx as a static site and reverse proxy

docker-entrypoint-initdb.d मधले scripts कधी चालतात? Data directory रिकामी असतानाच (पहिला start). Volume मध्ये data असेल तर skip.
मुलाखत (Interview) card 8 of 9: docker-entrypoint-initdb.d मधले scripts कधी चालतात? · PNG download करा · Card page उघडा

Lesson: 54.8 MySQL and Postgres containers done right

Docker मध्ये Redis data कसा टिकवता? AOF (--appendonly yes) किंवा RDB snapshots आणि /data वर volume.
मुलाखत (Interview) card 9 of 9: Docker मध्ये Redis data कसा टिकवता? · PNG download करा · Card page उघडा

Lesson: 54.9 Redis container with persistence and a password

तुलना (Comparison) cards

Build image vs Runtime image. Build: SDK, compilers, tests.Runtime: app चालवायला लागतं तेवढंच.
तुलना (Comparison) card 1 of 3: Build image vs Runtime image · PNG download करा · Card page उघडा

Lesson: 54.3 Java Spring Boot Dockerfile with layered jars

scratch vs distroless. scratch: पूर्ण रिकामी.distroless: minimal files, CA certs, users.
तुलना (Comparison) card 2 of 3: scratch vs distroless · PNG download करा · Card page उघडा

Lesson: 54.5 Go Dockerfile with scratch or distroless

MySQL vs Postgres containers. MySQL: mysql:8.4, data /var/lib/mysql.Postgres: postgres:16, data /var/lib/postgresql/data.
तुलना (Comparison) card 3 of 3: MySQL vs Postgres containers · PNG download करा · Card page उघडा

Lesson: 54.8 MySQL and Postgres containers done right