Using the override file

Black Duck Documentation

Version
2026.4

You may want to override some of the default settings used by Black Duck. Instead of directly editing the .yml file, use the docker-compose.local-overrides.yml, located in the docker-swarm directory.

By using this file to modify default settings, your changes are preserved when you upgrade: you no longer need to modify the .yml file after each Black Duck upgrade. T

Note in the docker-compose command, the docker-compose.local-overrides.yml file must be the last .yml file used. For example, the following command starts Black Duck using an external database:

docker stack deploy -c docker-compose.externaldb.yml -c docker-compose.local-overrides.yml hub