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.
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.