-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
54 lines (54 loc) · 1.33 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
50
51
52
53
54
version: '2'
services:
core:
build:
context: docker/
dockerfile: Dockerfile.dev
volumes:
- '.:/app'
ports:
- "3000:3000"
- "8080:8080"
depends_on:
- kinesis
- s3
links:
- "s3:rr-event-archive.s3"
environment:
NODE_ENV: development
KINESIS_ENDPOINT: http://kinesis:4567
S3_ENDPOINT: http://s3:4569
LISTENER_AUTH_TOKEN: secret
ARCHIVE_BUCKET: rr-event-archive
STREAM_NAME: rabblerouser_stream
TEST_STREAM_NAME: test_rabblerouser_stream
command: sleep 2147483647 # Sleep forever, we'll shell into the container later
stdin_open: true
user: $UID
tty: true
event-forwarder:
image: rabblerouser/event-forwarder
depends_on:
- kinesis
- core
environment:
KINESIS_ENDPOINT: http://kinesis:4567
LISTENER_ENDPOINT: http://core:3000/events
LISTENER_AUTH_TOKEN: secret
STREAM_NAME: rabblerouser_stream
event-archiver:
image: rabblerouser/event-archiver
depends_on:
- kinesis
- s3
links:
- "s3:rr-event-archive.s3"
environment:
KINESIS_ENDPOINT: http://kinesis:4567
S3_ENDPOINT: http://s3:4569
STREAM_NAME: rabblerouser_stream
ARCHIVE_BUCKET: rr-event-archive
kinesis:
image: instructure/kinesalite
s3:
image: lphoward/fake-s3