File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ whitelist:
93
93
- ' /``.yml``/'
94
94
- ' /(.*)\.orm\.yml/' # currently DoctrineBundle only supports .yml
95
95
- /docker-compose\.yml/
96
+ - /compose\.yaml/
96
97
lines :
97
98
- ' in config files, so the old ``app/config/config_dev.yml`` goes to'
98
99
- ' #. The most important config file is ``app/config/services.yml``, which now is'
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Flex Recipes & Docker Configuration
19
19
20
20
The :ref: `Flex recipe <symfony-flex >` for some packages also include Docker configuration.
21
21
For example, when you run ``composer require doctrine `` (to get ``symfony/orm-pack ``),
22
- your ``docker- compose.yml `` file will automatically be updated to include a
22
+ your ``compose.yaml `` file will automatically be updated to include a
23
23
``database `` service.
24
24
25
25
The first time you install a recipe containing Docker config, Flex will ask you
Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ Consider the following configuration:
388
388
389
389
.. code-block :: yaml
390
390
391
- # docker- compose.yaml
391
+ # compose.yaml
392
392
services :
393
393
database :
394
394
ports : [3306]
@@ -401,12 +401,12 @@ variables accordingly with the service name (``database``) as a prefix:
401
401
If the service is not in the supported list below, generic environment
402
402
variables are set: ``PORT ``, ``IP ``, and ``HOST ``.
403
403
404
- If the ``docker- compose.yaml `` names do not match Symfony's conventions, add a
404
+ If the ``compose.yaml `` names do not match Symfony's conventions, add a
405
405
label to override the environment variables prefix:
406
406
407
407
.. code-block :: yaml
408
408
409
- # docker- compose.yaml
409
+ # compose.yaml
410
410
services :
411
411
db :
412
412
ports : [3306]
@@ -471,7 +471,7 @@ check the "Symfony Server" section in the web debug toolbar; you'll see that
471
471
472
472
.. code-block :: yaml
473
473
474
- # docker- compose.yaml
474
+ # compose.yaml
475
475
services :
476
476
db :
477
477
ports : [3306]
@@ -485,10 +485,10 @@ its location, same as for ``docker-compose``:
485
485
.. code-block :: bash
486
486
487
487
# start your containers:
488
- COMPOSE_FILE=docker/docker- compose.yaml COMPOSE_PROJECT_NAME=project_name docker-compose up -d
488
+ COMPOSE_FILE=docker/compose.yaml COMPOSE_PROJECT_NAME=project_name docker-compose up -d
489
489
490
490
# run any Symfony CLI command:
491
- COMPOSE_FILE=docker/docker- compose.yaml COMPOSE_PROJECT_NAME=project_name symfony var:export
491
+ COMPOSE_FILE=docker/compose.yaml COMPOSE_PROJECT_NAME=project_name symfony var:export
492
492
493
493
.. note ::
494
494
You can’t perform that action at this time.
0 commit comments