Skip to content

Commit 962e087

Browse files
committed
Make the explanation about how Docker services are detected (hopefully) clearer
1 parent d375f44 commit 962e087

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup/symfony_server.rst

Lines changed: 5 additions & 2 deletions
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)