mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-02-14 06:40:21 +00:00
docs: using docker-compose.override.yml
This feature was previously undocumented. See: https://discuss.overhang.io/t/override-and-docker-compose/1857
This commit is contained in:
parent
f5650d8a29
commit
1411e5a0ff
@ -271,3 +271,12 @@ To dump all data from the MySQL and Mongodb databases used on the platform, run
|
||||
tutor local exec mongodb mongodump --out=/data/db/dump.mongodb
|
||||
|
||||
The ``dump.sql`` and ``dump.mongodb`` files will be located in ``$(tutor config printroot)/data/mysql`` and ``$(tutor config printroot)/data/mongodb``.
|
||||
|
||||
Customizing the deployed services
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You might want to customize the docker-compose services listed in ``$(tutor config printroot)/env/local/docker-compose.yml``. To do so, you should create a ``docker-compose.override.yml`` file in that same folder::
|
||||
|
||||
vim $(tutor config printroot)/env/local/docker-compose.override.yml
|
||||
|
||||
The values in this file will override the values from ``docker-compose.yml`` and ``docker-compose.prod.yml``, as explained in the `docker-compose documentation <https://docs.docker.com/compose/extends/#adding-and-overriding-configuration>`__.
|
||||
|
Loading…
x
Reference in New Issue
Block a user