mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-20 09:26:36 +00:00
Refs #451 Improve docs about docker-compose.override.yml
This commit is contained in:
parent
4a43c155a7
commit
7ac909566f
@ -16,6 +16,24 @@ By default, this file does not exist and you must create it. You can either copy
|
||||
.. contents:: :local:
|
||||
|
||||
|
||||
.. _docker_compose_override_yml_how_does_it_work:
|
||||
|
||||
How does docker-compose.override.yml work?
|
||||
==========================================
|
||||
|
||||
When you run ``docker-compose up``, it searches for a file named ``docker-compose.yml`` and reads
|
||||
all configured services, networks, volumes etc to create your Docker stack. If you also
|
||||
additionally have a file named ``docker-compose.override.yml`` this will be read as well and used
|
||||
as an override file to complement. It works in the following order:
|
||||
|
||||
1. All definitions from ``docker-compose.yml`` will be used
|
||||
2. All definitions that are also defined in ``docker-compose.override.yml`` will automatically
|
||||
overwrite the settings from ``docker-compose.yml``
|
||||
3. All definitions only available in ``docker-compose.override.yml`` will be added additionally.
|
||||
|
||||
For starting up your Docker Compose stack there are no additional steps or command line arguments
|
||||
required. If both files exist, they will be read automatically.
|
||||
|
||||
.. seealso:: |ext_lnk_docker_compose_extends|
|
||||
|
||||
|
||||
|
@ -9,6 +9,8 @@ Enable all additional container
|
||||
Besides providing basic LAMP/MEAN stack container, which are well integrated into the Devilbox
|
||||
intranet, the Devilbox also ships additional pre-configured container that can easily be enabled.
|
||||
|
||||
.. seealso:: :ref:`docker_compose_override_yml_how_does_it_work`
|
||||
|
||||
|
||||
**Table of Contents**
|
||||
|
||||
|
@ -12,6 +12,7 @@ This section will guide you through getting Blackfire integrated into the Devilb
|
||||
* |ext_lnk_blackfire_github|
|
||||
* |ext_lnk_blackfire_dockerhub|
|
||||
* :ref:`custom_container_enable_all_additional_container`
|
||||
* :ref:`docker_compose_override_yml_how_does_it_work`
|
||||
|
||||
|
||||
**Table of Contents**
|
||||
|
@ -12,6 +12,7 @@ This section will guide you through getting MailHog integrated into the Devilbox
|
||||
* |ext_lnk_mailhog_github|
|
||||
* |ext_lnk_mailhog_dockerhub|
|
||||
* :ref:`custom_container_enable_all_additional_container`
|
||||
* :ref:`docker_compose_override_yml_how_does_it_work`
|
||||
|
||||
|
||||
**Table of Contents**
|
||||
|
@ -12,6 +12,7 @@ This section will guide you through getting RabbitMQ integrated into the Devilbo
|
||||
* |ext_lnk_rabbitmq_github|
|
||||
* |ext_lnk_rabbitmq_dockerhub|
|
||||
* :ref:`custom_container_enable_all_additional_container`
|
||||
* :ref:`docker_compose_override_yml_how_does_it_work`
|
||||
|
||||
|
||||
**Table of Contents**
|
||||
|
@ -12,6 +12,7 @@ This section will guide you through getting Solr integrated into the Devilbox.
|
||||
* |ext_lnk_solr_github|
|
||||
* |ext_lnk_solr_dockerhub|
|
||||
* :ref:`custom_container_enable_all_additional_container`
|
||||
* :ref:`docker_compose_override_yml_how_does_it_work`
|
||||
|
||||
|
||||
**Table of Contents**
|
||||
|
Loading…
x
Reference in New Issue
Block a user