"It works on my machine" stops being a problem once your app runs in a container and every change is tested and deployed by a pipeline. This course takes a typical web application – it can be PHP, Node.js or Python – and walks it all the way from a local Dockerfile to an automated deployment on a Linux server you control.
What you'll learn
- What containers are, how images and layers work, and how Docker differs from a virtual machine
- Writing efficient Dockerfiles with multi-stage builds, small base images and a non-root user
- Running multi-service apps (app, database, cache) locally with Docker Compose, volumes and networks
- Managing configuration and secrets with environment variables, without baking them into images
- Building CI pipelines with GitHub Actions or GitLab CI: linting, tests, image builds and caching
- Publishing images to a container registry
- Preparing a Linux VPS: SSH keys, a non-root user, firewall rules and automatic security updates
- Putting a reverse proxy (Nginx or Caddy) in front of your app with automatic HTTPS from Let's Encrypt
- Deploying with minimal downtime, rolling back, running database migrations safely
- Backups, logs, health checks and simple uptime monitoring
Who it's for
- Developers who have only ever deployed by FTP or a hosting control panel
- Small teams who want reliable deployments without a dedicated operations engineer
- Freelancers who host client projects on their own servers
Prerequisites
- You can build and run a small web app in any language
- Basic command-line skills and Git
- Access to a cloud VPS for the deployment modules (any mainstream provider works)
Outcomes
By the end of this course you will be able to:
- Package an application as a lean, secure Docker image.
- Run the same stack locally and in production with Docker Compose.
- Set up a pipeline that tests and deploys every change automatically.
- Run a hardened VPS with HTTPS, backups and alerts when something goes down.
Course outline
| Module | Topic |
|---|---|
| 1 | DevOps in practice: what we automate and why |
| 2 | Docker fundamentals: images, containers, layers and registries |
| 3 | Writing production-ready Dockerfiles |
| 4 | Docker Compose for local development |
| 5 | Configuration, secrets and environment parity |
| 6 | CI basics: pipelines, jobs, caching and test reports |
| 7 | Building and publishing images from CI |
| 8 | Setting up and hardening a Linux VPS |
| 9 | Reverse proxies, domains and HTTPS |
| 10 | Continuous deployment, migrations and rollbacks |
| 11 | Logs, health checks, monitoring and backups |
| 12 | Project: end-to-end pipeline from commit to production |
FAQ
Do I need Kubernetes?
Probably not yet. A single well-run server with Docker Compose is enough for many web applications. We explain the signs that you have outgrown it and what Kubernetes would add.
GitHub Actions or GitLab CI?
The concepts are the same. We show examples for both so you can use whichever your team already has.
Can I follow along on Windows?
Yes, using Docker Desktop with WSL 2. The servers you deploy to will run Linux, and we cover the Linux commands you need.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.