The docker container can be run with the following command:
docker run \
-it --rm \
-v $PWD:/snowplow \
-e GOOGLE_APPLICATION_CREDENTIALS=/snowplow/snowplow-gcp-account-11aa55ff6b1b.json \
snowplow/fs2-enrich:latest \
--enrichments /snowplow/enrichments \
--iglu-config /snowplow/resolver.json \
--config /snowplow/config.hocon
Code language: JavaScript (javascript)
Above assumes that you have following directory structure:
- GCP credentials JSON file
enrichments
directory, (possibly empty) with all enrichment configuration JSONs- Iglu Resolver configuration JSON
- FS2 Enrich configuration HOCON