Update Docker Compose to deal with optional service configuration files
POC for loading optional service config files in the modular config branch. It could look similar to this:
1. Complete the environment:
TANK_CONFIG: "../services/tank.yaml"
...
volumes:
- ${TANK_CONFIG}:/etc/aura/tank.yaml
- a.) Find out if it is possible to keep the path to the config file purely optional i.e. only use it when the
../services/tank.yaml
file is available. Otherwise use the existing config in the container under/etc/aura/tank.yaml
. - b.) If that's not possible the sample configuration
../services/sample-config/tank.yaml
could be used as a fallback.
2. Apply the working approach to all other services in Aura Web, Aura Playout and Aura Recorder.
Compare available config files under config/services/sample-config
.
Edited by David Trattnig