You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project provides ready-to-use Docker images for web development and deployment. These images are built with a focus on PHP applications, offering a complete environment with Nginx, PHP-FPM, Supervisor, and Cron capabilities.
22
+
23
+
### Key Features
24
+
25
+
-**Multiple PHP Versions**: Support for PHP 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, and 8.4
26
+
-**Nginx Web Server**: Pre-configured with sensible defaults for PHP applications
27
+
-**PHP-FPM**: Optimized for performance with common extensions installed
28
+
-**Supervisor**: Process control system to manage services
29
+
-**Cron Support**: Schedule and run periodic tasks
30
+
-**Debian-based**: All images are built on Debian Bookworm for stability
31
+
-**Customizable**: Easy configuration through volume mounts
32
+
-**Production-Ready**: Optimized for both development and production environments
33
+
19
34
## Usage
20
35
21
36
| Image | Distro | PHP |
@@ -42,7 +57,7 @@ docker run \
42
57
dockette/web:php-84
43
58
```
44
59
45
-
## Custom Nginx config
60
+
###Custom Nginx config
46
61
47
62
To customize Nginx config just bind new config to the path `/etc/nginx/sites.d/site.conf`, for example,
48
63
in such way:
@@ -57,7 +72,7 @@ docker run \
57
72
dockette/web:php-84
58
73
```
59
74
60
-
## Run cron tasks
75
+
###Run cron tasks
61
76
62
77
You could also run cron tasks, just simply bind your `crontab` to `/etc/cron.d/app`, for example,
63
78
in such way:
@@ -79,7 +94,7 @@ There is also username, for example:
0 commit comments