Chapter 57: Docker Projects Part 1: Websites, Databases, LAMP, LEMP, WordPress, 3-Tier and Every Language with MySQL and MongoDB
Ha chapter purna practical aahe. Pratyek lesson ek complete project aahe: Dockerfile, compose, code, run steps, errors aani cleanup. Swata type karun chalva.
What you will learn in this chapter
- Launch a website in a container
- Run a full app with a database
- Database containers with backups
- LAMP and LEMP stacks
- WordPress with HTTPS
- 3-tier apps
- Node, Python, Java, .NET, Go and PHP with MySQL and MongoDB
All Docker commands in one place
Every docker command step by step on one running example (build, run, exec, logs, volumes, networks, Compose, cleanup) with a cheat sheet: All Docker Commands Step by Step with Examples
Concepts in this chapter
- 57.1Project 1: Launch a website with a container (nginx + pandoc build)
- 57.2Project 2: Todo app with Node.js and MySQL (Docker getting-started style)
- 57.3Project 3: Database containers: MySQL, PostgreSQL, MongoDB and Redis with backups and admin UIs
- 57.4Project 4: WordPress with MySQL, nginx and free HTTPS from Let's Encrypt
- 57.5Project 5: Python FastAPI with MySQL, MongoDB and PostgreSQL (with Alembic migrations as a one-off job)
- 57.6Project 6: Node.js with MySQL and with MongoDB, plus a Redis cache
- 57.7Project 7: Go with MySQL and MongoDB in a tiny distroless image
- 57.8Project 8: Java Spring Boot (Gradle) with MySQL and MongoDB
- 57.9Project 9: .NET 8 minimal API with MySQL and MongoDB
- 57.10Project 10: Node + MongoDB + mongo-express, pushed to a private registry
- 57.11Project 11: Self-hosted team tools: Portainer, Gitea, Nextcloud and Uptime Kuma
- 57.12Project 12: Jupyter Lab and a FastAPI model server (CPU, then GPU)
- 57.13Project 13: LAMP stack: Apache, PHP 8, MySQL and phpMyAdmin
- 57.14Project 14: LEMP stack: nginx, PHP-FPM and MySQL
- 57.15Project 15: PHP with MySQL and with MongoDB (one API, two databases)
- 57.16Project 16: 3-tier app: React frontend, Node.js API and PostgreSQL
The chapter recap is at the end of the last concept page.
Ravi Sir's Cards: 35 revision, interview and comparison cards for this chapter · मराठी cards