docker-compose.override.yml is the configuration file where you can override existing settings from
docker-compose.yml or even add completely new services.
By default, this file does not exist and you must create it. You can either copy the existing
docker-compose.override.yml-example or create a new one.
Table of Contents
host> cd path/to/devilbox host> cp docker-compose.override.yml-example docker-compose.override.yml
- Create an empty file within the Devilbox git directory named
- Retrieve the currently used version from the existing
- Copy this version line to your newly created
docker-compose.override.ymlat the very top
# Create an empty file host> cd path/to/devilbox host> touch docker-compose.override.yml # Retrieve the current version host> grep ^version docker-compose.yml version: '2.1' # Add this version line to docker-compose.override.yml host> echo "version: '2.1'" > docker-compose.override.yml
Let’s see again how this file should look like now:
The documentation might be outdated and the version number might already be higher.
Rely on the output of the