Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nodered health check + compose env var interpolation #103

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

The container health-check script for node-red relies on the
`settings.js` to exist in the `/data/settings.js` directory
in the container. Refactor by mounting the file as readonly
into the container.

fixes #100

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
Due to consolidating the InfluxDBv1/v2 related env vars into
`.env` the playbook generates a Compose file with no values set
for any environment variables that need to be interpolated via
the `.env` file. In order to mitigate this, the compose validation
+ generation tasks do not interpolate the env vars and remove
path resolution too. With this fix, the files generated can then
rely on `.env` file even if the file generated after validation.

fixes #102

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
@shantanoo-desai shantanoo-desai self-assigned this Jul 27, 2023
@shantanoo-desai shantanoo-desai added node-red All activities for Node-RED specific development docker-compose All activities related to docker compose files / templates influxdbv1 All activities related to InfluxDBv1 TSDB influxdbv2 All activities related to InfluxDBv2 TSDB labels Jul 27, 2023
@shantanoo-desai shantanoo-desai merged commit dd6432f into main Jul 27, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker-compose All activities related to docker compose files / templates influxdbv1 All activities related to InfluxDBv1 TSDB influxdbv2 All activities related to InfluxDBv2 TSDB node-red All activities for Node-RED specific development
Projects
Status: Done
1 participant