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
Copy file name to clipboardExpand all lines: README.md
+44-10Lines changed: 44 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,26 @@
1
1
# UDX Worker PHP
2
2
3
-
A versatile Docker image for running PHP applications with NGINX and PHP-FPM, providing a ready-to-use environment to deploy and serve your PHP projects.
**A versatile Docker image for running PHP applications with NGINX and PHP-FPM, providing a ready-to-use environment to deploy and serve your PHP projects.**
The image is designed as a general-purpose base for PHP application development and deployment. It includes essential configurations for NGINX and PHP-FPM to streamline your setup, making it easy to get started with popular frameworks and custom applications alike.
8
12
9
-
### Based on udx-worker
13
+
### 🔧 Based on udx-worker
10
14
11
-
Built on `udx-worker`, this image benefits from secure, resource-efficient configurations and best practices, providing a reliable foundation for PHP applications.
15
+
Built on [`udx-worker`](https://github.com/udx/worker), this image benefits from secure, resource-efficient configurations and best practices, providing a reliable foundation for PHP applications.
12
16
13
-
## Development
17
+
## 👨💻 Development
14
18
15
-
### Prerequisites
19
+
### 📋 Prerequisites
16
20
17
21
- Ensure `Docker` is installed and running on your system.
18
22
19
-
### Quick Start
23
+
### 🚀 Quick Start
20
24
21
25
This image serves as a base for your PHP applications. The `src/tests/` directory includes sample tests for verifying PHP and NGINX functionality, but it does not contain application code by default.
22
26
@@ -43,7 +47,7 @@ make run-all-tests
43
47
44
48
You can add additional tests in the `src/tests/` directory as needed.
45
49
46
-
## Deployment
50
+
## 🚀 Deployment
47
51
48
52
### Deploying Using the Pre-Built Image
49
53
@@ -99,7 +103,7 @@ APP_PATH=/path/to/your-php-app make run
99
103
- Replace `/path/to/your-php-app` with the path to your PHP application directory.
100
104
- This command will mount your specified application directory into the container’s `/var/www` directory, allowing you to run your custom application directly.
101
105
102
-
## Configuration
106
+
## ⚙️ Configuration
103
107
104
108
You can configure build and runtime variables in `Makefile.variables`:
105
109
@@ -109,7 +113,7 @@ You can configure build and runtime variables in `Makefile.variables`:
109
113
110
114
Adjust these variables to suit your environment or specific deployment requirements.
111
115
112
-
## Makefile Commands Helper
116
+
## 🛠️ Makefile Commands Helper
113
117
114
118
Use make to view all available commands:
115
119
@@ -118,3 +122,33 @@ make help
118
122
```
119
123
120
124
These commands offer options for building, running, and testing your application seamlessly.
125
+
126
+
## 🤝 Contributing
127
+
We welcome contributions! Here's how you can help:
0 commit comments