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
+71-19Lines changed: 71 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,29 @@ This project provides a collection of optimized Docker images to run PHP applica
4
4
5
5
With a focus on flexibility and performance, the images are organized into categories that cater to everything from command-line tools to full development and production stacks.
6
6
7
-
Each image is carefully maintained and regularly updated to ensure compatibility and security.
8
-
9
-
Explore the available options to manage, develop, and deploy your PHP applications with ease.
7
+
Each image is carefully maintained and regularly updated to ensure compatibility and security.
10
8
11
9
For more technical information, please visit our [DeepWiki Page](https://deepwiki.com/fbraz3/php-system-docs) (AI generated).
12
10
11
+
## Table of Contents
12
+
13
+
1.[Who is this for?](#who-is-this-for)
14
+
2.[About the author](#about-the-author)
15
+
3.[Available Images](#available-images)
16
+
-[Tools](#tools)
17
+
-[Backend Images](#backend-images)
18
+
-[Web Server Images](#web-server-images)
19
+
-[Full Stack Images](#full-stack-images)
20
+
4.[Build Status](#build-status)
21
+
5.[Donation](#donation)
22
+
13
23
## Who is this for?
14
24
15
25
This project is designed for developers, system administrators, and DevOps engineers who need a reliable and efficient way to run PHP applications in Docker containers.
16
26
17
27
Whether you're building a new application, maintaining an existing one, or looking to streamline your development workflow, these images provide the tools and flexibility you need.
18
28
19
-
## Who I am
29
+
## About the author
20
30
21
31
My name is Felipe Braz, a software engineer, system administrator and devops engineer with a passion for open-source software and Docker.
22
32
@@ -27,18 +37,32 @@ I believe in the power of collaboration and open-source software, and I hope thi
27
37
- My LinkedIn Profile: [fbraz3](https://www.linkedin.com/in/fbraz3/)
28
38
- My Personal Blog: [braz.dev](https://braz.dev)
29
39
30
-
## Available images
40
+
## Available Images
31
41
32
-
### Tools Images
42
+
### Tools
33
43
34
44
A variety of tools images to help you manage your PHP applications:
35
45
36
-
#### Images
46
+
-[PHP CLI](https://hub.docker.com/r/fbraz3/php-cli): Command line interface for PHP applications, with [phalcon framework](https://phalcon.io/) support.
47
+
-[PHP Composer](https://hub.docker.com/r/fbraz3/php-composer): Command line for [Composer package manager](https://getcomposer.org/).
48
+
-[WP-CLI](https://hub.docker.com/r/fbraz3/wp-cli): [Command line](https://developer.wordpress.org/cli/commands/cli/) for managing WordPress installations.
49
+
-[Symfony CLI](https://hub.docker.com/r/fbraz3/symfony-cli): Command line for [Symfony framework](https://symfony.com/doc/current/setup.html).
50
+
51
+
#### Usage
52
+
53
+
```bash
54
+
# Run a standalone PHP script
55
+
docker run -it --rm fbraz3/php-cli:latest php myscript.php
56
+
57
+
# Run a PHP built-in server with Phalcon framework support
@@ -47,22 +71,40 @@ A variety of tools images to help you manage your PHP applications:
47
71
48
72
Images focusing on PHP server backend for easy integration with most commons web servers:
49
73
50
-
#### Images
51
-
52
74
-[PHP-FPM](https://hub.docker.com/r/fbraz3/php-fpm): PHP FastCGI Process Manager, designed to work with a separate web server, such as Nginx or Apache2.
53
75
76
+
#### Usage
77
+
78
+
```bash
79
+
# Run a PHP-FPM server, php-fpm socket will listening on port 1780
80
+
docker run -it --rm --name=php-fpm -v $(pwd):/workspace fbraz3/php-fpm:latest php-fpm
81
+
82
+
# In order to run a PHP-FPM server, you need to bind it to a web server, such as Nginx or Apache2.
83
+
# For example, to run the NGINX server official image and bind to the PHP-FPM server:
84
+
docker run -it --rm --name=nginx -p 80:80 -v $(pwd):/workspace nginx:latest
85
+
# Note: You need to manually configure the NGINX server to use the PHP-FPM server as a backend.
|[php-cli](https://hub.docker.com/r/fbraz3/php-cli)| Every Sunday, 6:00 AM UTC |[](https://github.com/fbraz3/php-base-docker/actions/workflows/base-images.yml)|
91
141
|[phalcon](https://hub.docker.com/r/fbraz3/php-cli)| Every Sunday, 7:00 AM UTC |[](https://github.com/fbraz3/php-base-docker/actions/workflows/phalcon-images.yml)|
@@ -99,6 +149,8 @@ Here's a summary of the images available in this project:
99
149
|[lamp](https://hub.docker.com/r/fbraz3/lamp)| Every Wednesday, 9:00 AM UTC |[](https://github.com/fbraz3/lamp-docker/actions/workflows/base-images.yml)[](https://github.com/fbraz3/lamp-docker/actions/workflows/phalcon-images.yml)|
100
150
101
151
## Donation
102
-
I spend a lot of time and effort maintaining all the project. If you find it useful, consider supporting me with a donation:
152
+
153
+
Maintaining this project requires significant time and effort. If you find it valuable, please consider supporting its development through a donation:
0 commit comments