Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tweak the environment variables of the module in the deplyoment deployment tool of your choice (e.g. in Rancher-UI, as command line parameters to "docker", ...)

2.2 Deployment with Okapi

...

2.2.1 Set env vars in the module descriptor (to be more precise: in the launch descriptor)

...

Now proceed with the standard installation prescription (Create tenant, ..., deploy and enable all modules with Okapi (deploy=true)).

2.2.2 Set env vars as global environment variables ( (warning) will that work ? Haven't tested that, yet!)

You could try to do the system installation following the standard installation prescription (for a single server with Vagrant), so as if you would use the default module environment variables. Not changing the module descriptor. But, instead of  the step "Post data source information to the Okapi environment for use by deployed modules" you post in addition the new module environment variables as global environment variables (in addtion to the database connection parameters). You expect them to be effective for all folio modules, then:

...

curl -w '\n' -D - -X POST -H "Content-Type: application/json" -d "{\"name\":\"KAFKA_HOST\",\"value\":\"10.9.2.62\"}" http://localhost:9130/_/env
curl -w '\n' -D - -X POST -H "Content-Type: application/json" -d "{\"name\":\"OKAPI_URL\",\"value\":\"http://10.9.2.62:9130\"}" http://localhost:9130/_/env

...

.