shantanoo-desai / komponist

A Composer for your favorite IoT/ IIoT container stacks with Ansible + Jinja2 + Docker Compose v2
GNU Affero General Public License v3.0
25 stars 2 forks source link

[docker-compose][influxdbv1][influxdbv2] Environment Variables for InfluxDB are not substituted #102

Closed shantanoo-desai closed 1 year ago

shantanoo-desai commented 1 year ago

Description

Upon performing local container tests when addressing #101 the InfluxDBv2 Container seems to fail for the reason that the INIT environment variables are not set and are empty. This is a regression caused due to consolidation of the environment variables into the komponist.env.j2 file.

The environment variables .env needs to be generated before the Compose Validity / Generation Checks or add --no-interpolate to these steps.