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

features: license headers + .env file generation #42

Closed shantanoo-desai closed 1 year ago

shantanoo-desai commented 1 year ago

Description

This PR inserts the necessary license headers for generated files from their respective templates (except for mosquitto see #41 ). Each generated file also now provides metadata of when these files were generated under the license header for more traceability when deployed on multiple devices.

It also refactors the logic of generated a core .env file for the docker compose project which at the moment adds the Grafana Admin Credentials in the final deployment directory.

It fixes #41 caused by the initial introduction of license headers to mosquitto which eclipse-mosquitto container cannot comprehend.