"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:

  1. Package an application as a lean, secure Docker image.
  2. Run the same stack locally and in production with Docker Compose.
  3. Set up a pipeline that tests and deploys every change automatically.
  4. Run a hardened VPS with HTTPS, backups and alerts when something goes down.

Course outline

ModuleTopic
1DevOps in practice: what we automate and why
2Docker fundamentals: images, containers, layers and registries
3Writing production-ready Dockerfiles
4Docker Compose for local development
5Configuration, secrets and environment parity
6CI basics: pipelines, jobs, caching and test reports
7Building and publishing images from CI
8Setting up and hardening a Linux VPS
9Reverse proxies, domains and HTTPS
10Continuous deployment, migrations and rollbacks
11Logs, health checks, monitoring and backups
12Project: 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.