The Go Cli runs all services from the jembi/platform
docker image. When adding new packages or updating existing packages to Platform you will need to build/update your local jembi/platform
image. How to build the image.
As you add new packages to the platform remember to list them in the config.yml
file - otherwise the added package will not be detected by the .
This section defines the configuration importing methods used in the Platform
Certain packages in the Platform require configuration to enable their intended functionality in a stack. For instance, the OpenHIM package requires the setting of users, channels, roles, and so on. Other packages, such as JS Report or Kibana, require importing of pre-configured dashboards stored in compressed files.
Most services in the Platform can be configured by sending a request containing the required configuration files to the relevant service API. To achieve this, the Platform leverages a helper container to make that API call.
If a package uses a config importer, its configuration can be found in the relevant package's importer
section.
As part of the package-launching process, the to-be-configured service is deployed, then awaits configuring. Before the configuration can take place, the relevant service is waited upon for joining to the Docker internal network. Once the service has joined the network, the helper container is launched and makes the API request to configure the service.
jembi/api-config-importer
For reference on how to use the jembi/api-config-importer
image, see the repo here.
jembi/instantohie-config-importer
For reference on how to use the jembi/instantohie-config-importer
image, see the repo here.