Getting started on Snowplow Open Source

  1. Home
  2. Docs
  3. Getting started on Snowplow Open Source
  4. Setup Snowplow Open Source on GCP
  5. Setup Validation and Enrich (GCP)
  6. Run FS2 Enrich

Run FS2 Enrich

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:

  1. GCP credentials JSON file
  2. enrichments directory, (possibly empty) with all enrichment configuration JSONs
  3. Iglu Resolver configuration JSON
  4. FS2 Enrich configuration HOCON