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

[influxdbv1] consolidate `influxdbv1.env` file into common `.env` #92

Closed shantanoo-desai closed 1 year ago

shantanoo-desai commented 1 year ago

Description

Telegraf will use the environment files mounted as Docker Secrets. Previously, since InfluxDBv1 does not support reading secrets within the container via files, the environment variables were separated in a influxdbv1.env. These env vars are now required for telegraf service to access the database.

Remove generation of influxdbv1.env file by refactoring: