COVESA / vehicle-edge

Vehicle Edge is a software stack, which acts as an interface between vehicle specific data sources and vehicle agnostic applications
Mozilla Public License 2.0
15 stars 7 forks source link

Improve Configuration Management #34

Open JochenKienzle opened 3 years ago

JochenKienzle commented 3 years ago

At the moment, the configuration for the docker images (e.g. via docker-compose) is split between different repositories and not all configuration parameters can be set/overwritten (or not clear how to do it). Also some hidden behavior could happen: e.g. the .dockerignore in the iot-event-analytics submodule could avoid you to include a config folder in the image itself.

The proposal:

llakie commented 3 years ago

.dockerignore should facilitate the process of using the COPY command in the Dockerfiles. Everything should be ignored, which is not needed. What do you mean by "the configuration is split between different repositories"? The whole configuration of the stack is provided in the vehicle-edge project under docker-compose/config or setup/general.

llakie commented 3 years ago

We should distinguish between container runtime properties and application properties The first can be done by making the yml use more environment variables and the latter is part of the application implementation.