Skip to content

← Week 19 - docker compose

Week 19 - docker compose: notes

Status: Not started

Exercise 1

Compose file with app, database and nginx; env files, secrets, named volumes, restart policies.

Commands, results, what surprised me.

Exercise 2

Use healthchecks and depends_on conditions so the app waits for the database.

Commands, results, what surprised me.

Exercise 3

Deploy the compose stack to the VPS and switch DNS from the systemd setup to it.

Commands, results, what surprised me.

Exercise 4

Practice docker compose logs, exec, down -v and rebuilds.

Commands, results, what surprised me.

Deliverable

The full stack running from one compose file on the VPS.

Write-up.