You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration files could be segregated better to reduce the number of changes between versions and to separate out OpenCTI configuration from the data storage configuration
#376
Open
Roland-Rosier opened this issue
Mar 10, 2025
· 1 comment
There is no separation between the configuration for the data storage and the OpenCTI configuration.
The version numbers of the OpenCTI images have to be edited in multiple places; in the image definition for each image.
With all the image definitions changing anyway, it is more difficult to see if non-version-related changes to the docker-compose file have happened.
The version number can't currently be interpolated because it needs to be in a globally-included .env file for it to be interpolated in the image definition lines.
The version number can't be put into the current .env file because that file can't be committed because it contains secrets.
The version number can't be put into another global .env file because that would mean changing the command used to call docker compose.
If the docker compose file is edited to add multiple additional connector descriptions, this lack of separation, encapsulation and interpolation makes the docker compose file rapdily become hard to manage.
A solution would be "include" a top-level include block, which puts all the opencti configuration into another file and also includes a second environment file, e.g.:
In this way, OPENCTI_VER is interpolated and when OpenCTI is updated to a new version, the only edit needing making is editing the value in .global.env
The text was updated successfully, but these errors were encountered:
As per the description:
A solution would be "include" a top-level include block, which puts all the opencti configuration into another file and also includes a second environment file, e.g.:
with a .global.env containing
and docker-compose-opencti.yml containing
In this way, OPENCTI_VER is interpolated and when OpenCTI is updated to a new version, the only edit needing making is editing the value in .global.env
The text was updated successfully, but these errors were encountered: