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
{{ message }}
Repository navigation
Commit ae61ae5
Browse filesBrowse the repository at this point in the historyBrowse files
This is just an overview. See the full list of benefits and features below.
130
130
131
-
:u-button{to="/docs/getting-started/these-images-vs-others"label="Read more about the advantages"aria-label="Read more about the advantages"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
131
+
:u-button{to="/docs/getting-started/these-images-vs-others"label="Read more about the advantages"aria-label="Read more about the advantages"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
132
132
133
133
## Why should I use these PHP Docker Images?
134
134
135
135
These images are production-ready and optimized for performance and security. We work hard to give you a "batteries included" experience so you can ship PHP with Docker as fast as possible. Click below to see a simple working example.
Copy file name to clipboardExpand all lines: docs/content/docs/1.getting-started/2.these-images-vs-others.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ services:
119
119
120
120
No Dockerfile modifications. No config file mounting. No image rebuilds. Just simple environment variables with production-ready defaults.
121
121
122
-
:u-button{to="/docs/reference/environment-variable-specification" label="View all environment variables" aria-label="View all environment variables" size="md" color="primary" variant="outline" trailing-icon="i-lucide-arrow-right" class="font-bold"}
122
+
:u-button{to="/docs/reference/environment-variable-specification" label="View all environment variables" aria-label="View all environment variables" size="md" color="primary" variant="outline" trailing-icon="i-lucide-arrow-right" class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
123
123
124
124
### Production-Ready Out of the Box
125
125
@@ -161,7 +161,7 @@ services:
161
161
AUTORUN_ENABLED: "true"
162
162
```
163
163
164
-
:u-button{to="/docs/framework-guides/laravel/automations" label="Learn More About Laravel Automations" aria-label="Learn More About Laravel Automations" size="md" color="primary" variant="outline" trailing-icon="i-lucide-arrow-right" class="font-bold"}
164
+
:u-button{to="/docs/framework-guides/laravel/automations" label="Learn More About Laravel Automations" aria-label="Learn More About Laravel Automations" size="md" color="primary" variant="outline" trailing-icon="i-lucide-arrow-right" class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
165
165
166
166
**WordPress Optimizations**
167
167
- Pre-installed PHP extensions WordPress needs
@@ -259,13 +259,13 @@ If you're currently managing PHP on traditional servers, the switch to container
259
259
- Version control your entire infrastructure
260
260
261
261
See our quick start guide to run your first PHP container.
Copy file name to clipboardExpand all lines: docs/content/docs/1.getting-started/3.installation.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,12 @@ There are some important terms to understand when working with containers:
34
34
35
35
If you'd like to learn more about containers, you can learn more following the guide below.
36
36
37
-
:u-button{to="/docs/deployment-and-production/container-basics"label="Learn More About Containers"aria-label="Learn More About Containers"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
37
+
:u-button{to="/docs/deployment-and-production/container-basics"label="Learn More About Containers"aria-label="Learn More About Containers"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
38
38
39
39
## Already using Docker?
40
40
If you're already using the official PHP images, switching will literally take you seconds.
41
41
42
-
:u-button{to="/docs/guide/migrating-from-official-php-images"label="Learn how to migrate from the official PHP images"aria-label="Learn how to migrate from the official PHP images"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
42
+
:u-button{to="/docs/guide/migrating-from-official-php-images"label="Learn how to migrate from the official PHP images"aria-label="Learn how to migrate from the official PHP images"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
43
43
44
44
## Quick Start
45
45
In order to run containers, we need a container engine installed such as Docker. You can follow [Docker's installation guide](https://docs.docker.com/get-started/get-docker/) to get started. Confirm Docker is working by running these commands in your terminal:
@@ -195,4 +195,4 @@ You've successfully created your first PHP app with Docker. Better yet, you've s
195
195
196
196
If you're curious what the whole process looks like from Development to Production, check out out guide below.
197
197
198
-
:u-button{to="/docs/deployment-and-production/development-to-production"label="Learn how to deploy your PHP app from Development to Production"aria-label="Learn how to deploy your PHP app from Development to Production"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
198
+
:u-button{to="/docs/deployment-and-production/development-to-production"label="Learn how to deploy your PHP app from Development to Production"aria-label="Learn how to deploy your PHP app from Development to Production"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
Copy file name to clipboardExpand all lines: docs/content/docs/1.getting-started/4.choosing-an-image.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,36 +84,36 @@ Choose from several variations to suit your needs. Each variation is optimized f
84
84
### CLI
85
85
The CLI variation is a minimal image designed for running PHP from the command line only. It does not include a web server. Use this variation when you need a disposable and repeatable method for easily running PHP scripts from your terminal.
86
86
87
-
:u-button{to="/docs/image-variations/cli"label="Learn more about the CLI variation"aria-label="Learn more about the CLI variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
87
+
:u-button{to="/docs/image-variations/cli"label="Learn more about the CLI variation"aria-label="Learn more about the CLI variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
88
88
89
89
### FPM
90
90
The FPM (Fast Process Manager) variation runs PHP-FPM without a web server. This variation is ideal for microservices architectures where you need a dedicated PHP backend.
91
91
92
92
Use this variation when you already have a separate proxy or load balancer handling static content and routing PHP requests to your FPM container. This is commonly used in larger-scale deployments.
93
93
94
-
:u-button{to="/docs/image-variations/fpm"label="Learn more about the FPM variation"aria-label="Learn more about the FPM variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
94
+
:u-button{to="/docs/image-variations/fpm"label="Learn more about the FPM variation"aria-label="Learn more about the FPM variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
95
95
96
96
### FPM-Apache
97
97
The FPM-Apache variation combines PHP-FPM with Apache as a reverse proxy. Apache serves static content directly and forwards PHP requests to PHP-FPM for processing.
98
98
99
99
This is an excellent choice for WordPress sites and applications that specifically require Apache features or `.htaccess` support.
100
100
101
-
:u-button{to="/docs/image-variations/fpm-apache"label="Learn more about the FPM-Apache variation"aria-label="Learn more about the FPM-Apache variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
101
+
:u-button{to="/docs/image-variations/fpm-apache"label="Learn more about the FPM-Apache variation"aria-label="Learn more about the FPM-Apache variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
102
102
103
103
104
104
### FPM-NGINX
105
105
The FPM-NGINX variation combines PHP-FPM with NGINX as a reverse proxy. This is the traditional setup that has been widely adopted for modern PHP applications, including many Laravel deployments.
106
106
107
107
NGINX serves static files efficiently and proxies PHP requests to PHP-FPM, providing excellent performance and flexibility.
108
108
109
-
:u-button{to="/docs/image-variations/fpm-nginx"label="Learn more about the FPM-NGINX variation"aria-label="Learn more about the FPM-NGINX variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
109
+
:u-button{to="/docs/image-variations/fpm-nginx"label="Learn more about the FPM-NGINX variation"aria-label="Learn more about the FPM-NGINX variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
110
110
111
111
### FrankenPHP
112
112
The FrankenPHP variation is a modern application server built on top of the Caddy web server. It runs everything in a single process, eliminating the complexity of managing PHP-FPM and a separate web server.
113
113
114
114
Use this variation for Laravel or Symfony applications that can benefit from worker mode, automatic HTTPS, and modern protocols like HTTP/2 and HTTP/3. This is the recommended variation for new projects seeking cutting-edge performance.
115
115
116
-
:u-button{to="/docs/image-variations/frankenphp"label="Learn more about the FrankenPHP variation"aria-label="Learn more about the FrankenPHP variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold"}
116
+
:u-button{to="/docs/image-variations/frankenphp"label="Learn more about the FrankenPHP variation"aria-label="Learn more about the FrankenPHP variation"size="md"color="primary"variant="outline"trailing-icon="i-lucide-arrow-right"class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}
0 commit comments