Skip to content

Commit 015790e

Browse files
authored
Merge pull request #21799 from docker/published-update
publish updates from main
2 parents ae628bd + ff148d0 commit 015790e

File tree

20 files changed

+975
-42
lines changed

20 files changed

+975
-42
lines changed

_vale/Docker/Acronyms.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ exceptions:
4141
- ECI
4242
- ELK
4343
- FAQ
44+
- FPM
4445
- FUSE
4546
- GB
4647
- GCC

_vale/config/vocabularies/Docker/accept.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ JetBrains
5858
Kerberos
5959
Kitematic
6060
Kubernetes
61+
Laravel
62+
Laradock
6163
Linux
6264
LinuxKit
6365
Logstash
@@ -94,6 +96,7 @@ VMware
9496
Wasm
9597
Windows
9698
WireMock
99+
Xdebug
97100
Zscaler
98101
Zsh
99102
[Aa]nonymized?

_vendor/github.com/docker/compose/v2/docs/reference/compose_create.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/docker/compose/v2/docs/reference/compose_run.md

Lines changed: 24 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/docker/compose/v2/docs/reference/compose_up.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_create.yaml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_run.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_up.yaml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# github.com/moby/moby v27.4.0+incompatible
2-
# github.com/moby/buildkit v0.18.0
2+
# github.com/moby/buildkit v0.18.1
33
# github.com/docker/buildx v0.19.2
44
# github.com/docker/cli v27.4.0+incompatible
5-
# github.com/docker/compose/v2 v2.32.0
5+
# github.com/docker/compose/v2 v2.32.3
66
# github.com/docker/scout-cli v1.15.0
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Develop and Deploy Laravel applications with Docker Compose
3+
linkTitle: Laravel applications with Docker Compose
4+
summary: Learn how to efficiently set up Laravel development and production environments using Docker Compose.
5+
description: A guide on using Docker Compose to manage Laravel applications for development and production, covering container configurations and service management.
6+
tags: [frameworks]
7+
languages: [php]
8+
aliases:
9+
- /frameworks/laravel/
10+
params:
11+
time: 30 minutes
12+
resource_links:
13+
- title: Laravel
14+
url: https://laravel.com/
15+
- title: Docker Compose
16+
url: /compose/
17+
- title: Use Compose in production
18+
url: /compose/how-tos/production/
19+
- title: Repository with examples
20+
url: https://github.com/dockersamples/laravel-docker-examples
21+
---
22+
23+
Laravel is a popular PHP framework that allows developers to build web applications quickly and effectively. Docker Compose simplifies the management of development and production environments by defining essential services, like PHP, a web server, and a database, in a single YAML file. This guide provides a streamlined approach to setting up a robust Laravel environment using Docker Compose, focusing on simplicity and efficiency.
24+
25+
> **Acknowledgment**
26+
>
27+
> Docker would like to thank [Sergei Shitikov](https://github.com/rw4lll) for
28+
> his contribution to this guide.
29+
30+
The demonstrated examples can be found in [this GitHub repository](https://github.com/dockersamples/laravel-docker-examples). Docker Compose offers a straightforward approach to connecting multiple containers for Laravel, though similar setups can also be achieved using tools like Docker Swarm, Kubernetes, or individual Docker containers.
31+
32+
This guide is intended for educational purposes, helping developers adapt and optimize configurations for their specific use cases. Additionally, there are existing tools that support Laravel in containers:
33+
34+
- [Laravel Sail](https://laravel.com/docs/11.x/sail): An official package for easily starting Laravel in Docker.
35+
- [Laradock](https://github.com/laradock/laradock): A community project that helps run Laravel applications in Docker.
36+
37+
## What you’ll learn
38+
39+
- How to use Docker Compose to set up a Laravel development and production environment.
40+
- Defining services that make Laravel development easier, including PHP-FPM, Nginx, and database containers.
41+
- Best practices for managing Laravel environments using containerization.
42+
43+
## Who’s this for?
44+
45+
- Developers who work with Laravel and want to streamline environment management.
46+
- DevOps engineers seeking efficient ways to manage and deploy Laravel applications.

0 commit comments

Comments
 (0)