File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,30 @@ with [FrankenPHP](https://frankenphp.dev) and [Caddy](https://caddyserver.com/)
13134 . Open ` https://localhost ` in your favorite web browser and [ accept the auto-generated TLS certificate] ( https://stackoverflow.com/a/15076602/1352334 )
14145 . Run ` docker compose down --remove-orphans ` to stop the Docker containers.
1515
16+ ## Makefile Usage Instructions
17+
18+ This project includes a ` Makefile ` to simplify common Docker and Docker Compose operations. Below are the available commands and their descriptions.
19+
20+ ### Prerequisites
21+
22+ - ` make ` (usually preinstalled on Linux/macOS; available via package managers on Windows like WSL or Cygwin)
23+
24+ ---
25+
26+ ### Available Commands
27+
28+ | Command | Description |
29+ | ---------------------| ----------------------------------------------------------------------------------------------------|
30+ | ` make ` or ` make up ` | Start all containers in foreground (with logs). |
31+ | ` make down ` | Stop and remove all containers, networks, and volumes. |
32+ | ` make build ` | Clean up previous containers and volumes, then rebuild images and start services in detached mode. |
33+ | ` make list ` | List all running Docker containers. |
34+ | ` make lf ` | Follow logs from the ` fluent-bit-cn ` container (streaming). |
35+ | ` make lp ` | Show logs from the ` php-fpm ` container. |
36+ | ` make p ` | Open a shell inside the running ` php ` container (useful for debugging, running commands, etc.). |
37+
38+ ---
39+
1640## Features
1741
1842- Production, development and CI ready
You can’t perform that action at this time.
0 commit comments