Bài 25: Debug và dọn dẹp Docker
Checklist debug Docker: container thoát ngay, trùng port, DNS, permission, healthcheck, OOMKilled, exec format error, distroless; system df và prune...
Checklist debug Docker: container thoát ngay, trùng port, DNS, permission, healthcheck, OOMKilled, exec format error, distroless; system df và prune...
Dùng GitHub Actions build image TaskFlow cho amd64 và arm64 với cache gha, tag semver và SHA, đẩy lên GHCR,...
Đưa stack Docker Compose của TaskFlow lên VPS Ubuntu: SSH chỉ bằng key, ufw và chain DOCKER-USER, image theo tag,...
Đặt Caddy làm reverse proxy cho TaskFlow trong Docker Compose: Caddyfile, HTTPS tự động bằng Let's Encrypt hoặc CA nội...
Bảo mật container Docker: user nonroot, cap_drop và cap_add tối thiểu, no-new-privileges, read_only, rủi ro của --privileged và Docker socket,...
Chuẩn bị Docker cho production: log driver và xoay vòng log, đọc log JSON bằng jq, giới hạn CPU, memory,...
Đưa mật khẩu ra khỏi compose.yaml: interpolation ${VAR}, file .env và --env-file, env_file, thứ tự ưu tiên, secrets với nguồn...

Sửa code là container tự cập nhật: file override, docker compose watch với rebuild, go run kèm bind mount, profiles...

Healthcheck cho Compose biết service đã sẵn sàng chưa. Bài này thêm healthcheck, depends_on có condition, service migrate chạy một...

Docker Compose chạy ứng dụng nhiều container từ một file compose.yaml. Bài này viết compose.yaml cho TaskFlow với PostgreSQL, Redis,...

-Laravel là một php framework mới, ra đời vào tháng 04/2011.Ngay khi vừa mới ra mắt thì nó đã được...

Ở bài trước mình đã giới thiệu qua về Laravel và các cách cài đặt nó trên windows rồi. Sau...
Bài trước chúng ta đã cùng tìm hiểu về cấu trúc thư mục của Laravel rồi. Ở bài này chúng...

Ở bài trước chúng ta đã tìm hiểu về Route::get(),post(),any(),match(),.. rồi, ở phần này chúng ta sẽ tìm hiểu tiếp...
