Once a release should be created the deployment environment variables must be changed to address docker images of a nexus with released images.
Please see ...
and search for section with "10001".
In order to avoid changes in the tested deployments the following strategy should be applied to future docker compose deployments:
- the docker compose yaml must always address the nexus with released versions.
- during devolvement and integration tests an overwrite file should be used to address the docker images from "staging" repo.
- after a release the overwrite files must not be used, when a released version should be deployed.
Please see
https://docs.docker.com/compose/extends/
If possible add as much as possible environment configuration values into env files.