~/courses/deploy-docker$
A three-tier application has a front (Nginx), the app itself, and a database, each in its own container. This course takes your project from source code to a server where only HTTPS is open, one tested lesson at a time.
5 of 11 lessons ready · each one tested on a fresh Ubuntu server
~/courses/deploy-docker$cat outcomes
~/courses/deploy-docker$cat why-here
Docker makes it easy to start a project and just as easy to leave it open: a database port published to the internet, a password in the compose file, a firewall that Docker walks past. Each lesson here was run on a fresh server and checked from outside it, so you see what is really open.
Those hurdles are server work: packages, services, the web server, the database, permissions, HTTPS, cron, logs. That is what Server Handbook covers, so a course for the software people run on their servers belongs here. This one follows the order you meet things in on a real server:
Every lesson is one task, run from start to finish on a fresh Ubuntu 26.04 server and again on 24.04. The page shows the commands, the output the server really printed, the errors we met on the way and how we fixed them, the version of every package tested, and the run log to check it against. We will add more open-source software in the same way, so that the problems people meet when they install, connect and run it on a real server each have a tested answer.
~/courses/deploy-docker$ls part-1
Docker and Compose on a fresh server.
~/courses/deploy-docker$ls part-2
From source code to three tiers on one server.
~/courses/deploy-docker$ls part-3
Updates, rollback and backups.
~/courses/deploy-docker$ls part-4
The errors people meet, each reproduced on a test server and fixed.
~/courses/deploy-docker$cat versions-tested
Read from the test runs, never typed: the system and the Docker parts each lesson ran on, and the run log of every run.
| System | Docker | Docker Compose | PostgreSQL | Lessons run on it |
|---|---|---|---|---|
| Ubuntu 26.04.1 LTS | 5:29.10.0-1~ubuntu.26.04~resolute | 5.8.0-1~ubuntu.26.04~resolute | 17.12 |
|
| Ubuntu 26.04.1 LTS | 5:29.10.0-1~ubuntu.26.04~resolute | — | — | |
| Ubuntu 26.04.1 LTS | 5:29.10.0-1~ubuntu.26.04~resolute | 5.8.0-1~ubuntu.26.04~resolute | — |
|
| Ubuntu 24.04.5 LTS | 5:29.10.0-1~ubuntu.24.04~noble | 5.8.0-1~ubuntu.24.04~noble | 17.12 |
|
| Ubuntu 24.04.5 LTS | 5:29.10.0-1~ubuntu.24.04~noble | — | — |
|
| Ubuntu 24.04.4 LTS | 5:29.10.0-1~ubuntu.24.04~noble | — | — | |
| Ubuntu 24.04.4 LTS | 5:29.10.0-1~ubuntu.24.04~noble | 5.8.0-1~ubuntu.24.04~noble | — |
|
Every lesson is a real task, run on a fresh Ubuntu 26.04 server and a fresh 24.04 server before it is published, with the output it printed. Lessons marked “Coming soon” are not published yet; each appears here when its test passes. How we test