File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ whitelist:
8888 regex :
8989 - ' /FOSUserBundle(.*)\.yml/'
9090 - ' /(.*)\.orm\.yml/' # currently DoctrineBundle only supports .yml
91- - /docker-compose\.yml/
9291 lines :
9392 - ' in config files, so the old ``app/config/config_dev.yml`` goes to'
9493 - ' #. 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
1919
2020The :ref: `Flex recipe <symfony-flex >` for some packages also include Docker configuration.
2121For 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
2323``database `` service.
2424
2525The 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:
388388
389389.. code-block :: yaml
390390
391- # docker- compose.yaml
391+ # compose.yaml
392392 services :
393393 database :
394394 ports : [3306]
@@ -401,12 +401,12 @@ variables accordingly with the service name (``database``) as a prefix:
401401If the service is not in the supported list below, generic environment
402402variables are set: ``PORT ``, ``IP ``, and ``HOST ``.
403403
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
405405label to override the environment variables prefix:
406406
407407.. code-block :: yaml
408408
409- # docker- compose.yaml
409+ # compose.yaml
410410 services :
411411 db :
412412 ports : [3306]
@@ -471,7 +471,7 @@ check the "Symfony Server" section in the web debug toolbar; you'll see that
471471
472472 .. code-block :: yaml
473473
474- # docker- compose.yaml
474+ # compose.yaml
475475 services :
476476 db :
477477 ports : [3306]
@@ -485,10 +485,10 @@ its location, same as for ``docker-compose``:
485485.. code-block :: bash
486486
487487 # 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
489489
490490 # 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
492492
493493 .. note ::
494494
You can’t perform that action at this time.
0 commit comments