← Week 18 | Overview | Week 20 →
Week 19 - docker compose¶
Phase 5: Containers (Weeks 17-20)
- Done
Goal: Run a multi-container stack the same way everywhere.
Exercises:
- Compose file with app, database and nginx; env files, secrets, named volumes, restart policies.
- Use healthchecks and depends_on conditions so the app waits for the database.
- Deploy the compose stack to the VPS and switch DNS from the systemd setup to it.
- Practice docker compose logs, exec, down -v and rebuilds.
Deliverable: The full stack running from one compose file on the VPS.
My notes: week-19-notes.md