Sign inSign up

humanmade/local-pinpoint

By humanmade

Updated about 5 years ago

Image
1

50K+

humanmade/local-pinpoint repository overview

Local AWS Pinpoint Server

This is a barebones mock image for testing AWS Cognito & Pinpoint. It is ideal for Amplify JS or any other implementation of client side Pinpoint anayltics.

API

The following AWS SDK API commands are supported:

  • UpdateEndpoint: Updates and stores endpoint data for the given Cognito identity ID.
  • PutEvents: Sends event data to Pinpoint, this is then merged with the corresponding endpoint data and delivered to elasticsearch.

Docker compose usage

services:
  pinpoint:
    image: humanmade/local-pinpoint
    ports:
      - 3000
    environment:
      ELASTICSEARCH_HOST: http://elasticsearch:9200
    networks:
      - default
  elasticsearch:
    image: blacktop/elasticsearch
    ports:
      - 9200
    networks:
      - default

networks:
  default:

Index rotation

Index rotation is supported in accordance with the AWS Kinesis Firehose Elasticsearch destination options.

To enable index rotation set the INDEX_ROTATION environment variable to one of the following values: NoRotation (default), OneMonth, OneWeek, OneDay or OneHour.

Local Cognito

This image is a counterpart to local-cognito but can also be used with a live Cognito Idenitity Pool instance.

Tag summary

Content type

Image

Digest

Size

31.8 MB

Last updated

about 5 years ago

docker pull humanmade/local-pinpoint