snowplow / snowplow-mini

An easily-deployable, single-instance version of Snowplow
Other
124 stars 33 forks source link

Snowplow docker containers should take custom environment variables from an optional file #398

Closed istreeter closed 7 months ago

istreeter commented 7 months ago

It is occasionally helpful to add a custom environment variable into one of the snowplow docker containers. For example, if setting the standard GOOGLE_APPLICATION_CREDENTIALS env var so that Enrich can download a private asset from GCS.

We can achieve this by using the env_file option of docker compose. By default no env file should be needed. A custom user-data script could choose to modify the env file to add custom environment variables.