Skip to content

Commit d978dc5

Browse files
committed
Document Symfony CLI --no-workers option
1 parent a5977ce commit d978dc5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: setup/symfony_server.rst

+6
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ There are several options that you can set using a ``.symfony.local.yaml`` confi
327327
no_tls: true # Use HTTP instead of HTTPS
328328
daemon: true # Run the server in the background
329329
use_gzip: true # Toggle GZIP compression
330+
no_workers: true # Do not start workers
330331
331332
.. caution::
332333

@@ -364,6 +365,11 @@ If you like some processes to start automatically, along with the webserver
364365
# auto start Docker compose when starting server (available since Symfony CLI 5.7.0)
365366
docker_compose: ~
366367
368+
.. tip::
369+
370+
You may want to not start workers on some environments like CI. You can use the
371+
``--no-workers`` option to start the server without starting workers.
372+
367373
.. _symfony-server-docker:
368374

369375
Docker Integration

0 commit comments

Comments
 (0)