forked from akka/alpakka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
184 lines (183 loc) · 4.69 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# For detailed information about docker-compose visit https://docs.docker.com/compose/
# To start all docker containers required to execute the tests locally run:
# docker-compose up
version: '2'
services:
amazonsns:
image: pafortin/goaws
ports:
- "4100:4100"
volumes:
- ./sns/src/test/travis/:/conf/
amqp:
image: rabbitmq:3
ports:
- "5672:5672"
cassandra:
image: cassandra:3.0.15
ports:
- "9042:9042"
couchbase:
image: couchbase:community-5.1.1
ports:
- "8091-8094:8091-8094"
- "11210:11210"
couchbase_prep:
image: couchbase:community-5.1.1
links:
- "couchbase"
entrypoint: ""
command: >
bash -c "
echo 'waiting until couchbase is up'
until `curl --output /dev/null --silent --head --fail http://couchbase:8091`; do
printf '.'
sleep 2
done
couchbase-cli cluster-init -c couchbase \
--cluster-username Administrator --cluster-password password \
--cluster-ramsize 300 \
--cluster-index-ramsize 256 \
--services data,index,query,fts
couchbase-cli bucket-create -c couchbase \
-u Administrator -p password \
--bucket akka \
--bucket-type couchbase \
--bucket-ramsize 100 \
--bucket-replica 1 \
--wait
couchbase-cli bucket-create -c couchbase \
-u Administrator -p password \
--bucket akkaquery \
--bucket-type couchbase \
--bucket-ramsize 100 \
--bucket-replica 1 \
--wait
sleep 2 # just wait a tiny bit more after creating the bucket
echo 'CREATE PRIMARY INDEX ON akkaquery USING GSI;' | \
cbq -c Administrator:password -e http://couchbase:8093
"
elasticmq:
image: softwaremill/elasticmq:0.14.6
ports:
- "9324:9324"
dynamodb:
image: deangiberson/aws-dynamodb-local
ports:
- "8001:8000"
geode:
container_name: geode
image: apachegeode/geode:1.8.0
hostname: geode
mem_limit: 2g
expose:
- "10334"
- "1099"
- "7575"
- "40404"
ports:
- "1099:1099"
- "10334:10334"
- "7575:7575"
- "7070:7070"
- "40404:40404"
- "8081:8080"
volumes:
- ./geode/scripts/:/scripts/
command: /scripts/geode.sh
gcloud-pubsub-emulator:
image: bigtruedata/gcloud-pubsub-emulator
ports:
- "8538:8538"
command: start --host-port=0.0.0.0:8538 --data-dir=/data
gcloud-pubsub-client:
image: martynas/gcloud-pubsub-client
links:
- "gcloud-pubsub-emulator"
environment:
- "PUBSUB_PROJECT_ID=alpakka"
- "PUBSUB_EMULATOR_HOST=gcloud-pubsub-emulator:8538"
entrypoint: ""
command: >
bash -c "
python publisher.py alpakka create simpleTopic &&
python subscriber.py alpakka create simpleTopic simpleSubscription
python publisher.py alpakka create testTopic &&
python subscriber.py alpakka create testTopic testSubscription
"
ironauth:
image: iron/auth
ports:
- "8090:8090"
ironmq:
image: iron/mq
links:
- "ironauth:ironauth"
environment:
- "AUTH_HOST=http://ironauth:8090"
ports:
- "8080:8080"
kudu-master-data:
image: kunickiaj/kudu
volumes:
- /var/lib/kudu/master
kudu-tserver-data:
image: kunickiaj/kudu
volumes:
- /var/lib/kudu/tserver
kudu-master:
image: kunickiaj/kudu
ports:
- 7051:7051
volumes_from:
- kudu-master-data
command: master
kudu-tserver:
image: kunickiaj/kudu
environment:
- KUDU_MASTER=kudu-master
ports:
- 7050:7050
volumes_from:
- kudu-tserver-data
command: tserver
links:
- kudu-master
minio:
image: minio/minio
ports:
- "9000:9000"
environment:
- "MINIO_ACCESS_KEY=TESTKEY"
- "MINIO_SECRET_KEY=TESTSECRET"
command: server /data
minio_prep:
image: mesosphere/aws-cli
links:
- "minio"
environment:
- "AWS_ACCESS_KEY_ID=TESTKEY"
- "AWS_SECRET_ACCESS_KEY=TESTSECRET"
entrypoint: ""
command: >
sh -c "
aws --endpoint-url http://minio:9000 s3api create-bucket --bucket my.test.frankfurt
aws --endpoint-url http://minio:9000 s3api create-bucket --bucket my-test-us-east-1
"
mongo:
image: mongo
ports:
- "27017:27017"
mqtt:
image: toke/mosquitto
ports:
- "1883:1883"
volumes:
- ./mqtt/src/test/travis:/mqtt/config/conf.d
orientdb:
image: orientdb:3.0.4
ports:
- "2424:2424"
environment:
- "ORIENTDB_ROOT_PASSWORD=root"
command: /orientdb/bin/server.sh -Dmemory.chunk.size=268435456