Skip to content

Commit ee3f665

Browse files
committed
minor symfony#15036 Make the explanation about how Docker services are detected (hopefully) clearer (fabpot)
This PR was merged into the 4.4 branch. Discussion ---------- Make the explanation about how Docker services are detected (hopefully) clearer <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 962e087 Make the explanation about how Docker services are detected (hopefully) clearer
2 parents d375f44 + 962e087 commit ee3f665

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup/symfony_server.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,11 @@ The local Symfony server provides full `Docker`_ integration for projects that
282282
use it.
283283

284284
When the web server detects that Docker Compose is running for the project, it
285-
automatically exposes environment variables according to the exposed port and
286-
the name of the ``docker-compose`` services.
285+
automatically exposes some environment variables.
286+
287+
Via the ``docker-compose`` API, it looks for exposed ports used for common
288+
services. When it detects one it knows about, it uses the service name to
289+
expose environment variables.
287290

288291
Consider the following configuration:
289292

0 commit comments

Comments
 (0)