-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (44 loc) · 1.31 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.9'
services:
iglu:
image: nginx:latest
ports:
- '8081:80'
volumes:
- ./iglu:/usr/share/nginx/html
localstack:
image: localstack/localstack:latest
environment:
- AWS_DEFAULT_REGION=us-east-1
- EDGE_PORT=4566
- SERVICES=dynamodb,cloudwatch,kinesis
- KINESIS_PROVIDER=kinesis-mock
- AWS_CBOR_DISABLE=true
- KINESIS_INITIALIZE_STREAMS=good:1:us-east-1,bad:1:us-east-1,enrich:1:us-east-1,pii:1:us-east-1,enrichbad:1:us-east-1
ports:
- '4566:4566'
collect:
image: snowplow/scala-stream-collector-kinesis:2.6.1-focal
ports:
- '8080:8080'
command: --config /snowplow/collect.hocon
environment:
- AWS_SECRET_ACCESS_KEY=default
- AWS_ACCESS_KEY=default
depends_on:
- localstack
volumes:
- .:/snowplow/
enrich:
#image: snowplow/snowplow-enrich-kinesis:3.1.5 # broken, see https://github.com/snowplow/enrich/pull/632
image: metarank/snowplow-enrich-kinesis:3.1.5-ssl
command: --config /snowplow/enrich.hocon --iglu-config /snowplow/iglu.json --enrichments /snowplow/enrichments
depends_on:
- collect
- localstack
volumes:
- .:/snowplow/
environment:
- AWS_REGION=us-east-1
- AWS_ACCESS_KEY_ID=default
- AWS_SECRET_ACCESS_KEY=default