Skip to content

Commit

Permalink
[DOCS] Docker Compose version Attribute Deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
HimanshuRamavat07 authored and github-actions[bot] committed Dec 6, 2024
1 parent e55165f commit b0944d9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/Installation/ApplicationContext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,23 @@ path with the following content:
.. literalinclude:: _ApplicationContext/_docker-compose.context.yaml
:caption: [project root]/.ddev/docker-compose.context.yaml

.. Hint::
Starting from `Docker Compose 1.27.0`, the version attribute in `docker-compose.context.yaml`
files has been deprecated and is no longer required. Docker Compose now automatically
selects the appropriate version based on the configuration and features used in your file.


Example (If you're using Docker Compose 1.27.0 or newer)

.. code-block:: bash
services:
web:
environment:
- TYPO3_CONTEXT=Development/Local
.. _development-settings:

Restart DDEV using

.. code-block:: bash
Expand Down

0 comments on commit b0944d9

Please sign in to comment.