forked from akka/alpakka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
258 lines (257 loc) · 6.68 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# 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.11
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-native:0.14.7
ports:
- "9324:9324"
dynamodb:
image: deangiberson/aws-dynamodb-local
ports:
- "8001:8000"
elasticsearch6:
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.0
ports:
- "9201:9200"
environment:
- "discovery.type=single-node"
elasticsearch7:
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.0
ports:
- "9202:9200"
environment:
- "discovery.type=single-node"
ftp:
image: stilliard/pure-ftpd:latest
ports:
- "21000:21"
- "30000-30009:30000-30009"
volumes:
- ./ftp/tmp/home:/home/username/
- ./ftp/src/test/resources/ftpd/:/etc/ssl/private/
environment:
PUBLICHOST: "localhost"
FTP_USER_NAME: username
FTP_USER_PASS: userpass
FTP_USER_HOME: /home/username
FTP_USER_UID: 2000
FTP_USER_GID: 2000
ADDED_FLAGS: "--tls=1"
geode:
container_name: geode
image: apachegeode/geode:1.12.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-emulator_prep:
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
"
hbase:
image: harisekhon/hbase:1.4
hostname: hbase
ports:
- 2181:2181
- 16000:16000
- 16010:16010
- 16201:16201
- 16301:16301
ibmmq:
image: ibmcom/mq:9.1.1.0
environment:
LICENSE: accept
MQ_QMGR_NAME: QM1
ports:
- "1414:1414"
- "9443:9443"
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:RELEASE.2020-03-09T18-26-53Z
ports:
- "9000:9000"
environment:
- "MINIO_ACCESS_KEY=TESTKEY"
- "MINIO_SECRET_KEY=TESTSECRET"
- "MINIO_DOMAIN=s3minio.alpakka"
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"
influxdb:
image: influxdb
ports:
- "8086:8086"
mqtt:
image: toke/mosquitto
ports:
- "1883:1883"
volumes:
- ./mqtt/src/test/travis:/mqtt/config/conf.d
orientdb:
image: orientdb:3.0.13
ports:
- "2424:2424"
environment:
- "ORIENTDB_ROOT_PASSWORD=root"
command: /orientdb/bin/server.sh -Dmemory.chunk.size=268435456
sftp:
image: atmoz/sftp
volumes:
- ./ftp/tmp/home:/home/username/upload
- ./ftp/src/test/resources/id_rsa.pub:/home/username/.ssh/keys/id_rsa.pub:ro
- ./ftp/src/test/resources/sftpd/ssh_host_ed25519_key:/tmp/ssh_host_ed25519_key
- ./ftp/src/test/resources/sftpd/ssh_host_rsa_key:/tmp/ssh_host_rsa_key
- ./ftp/src/test/resources/sftpd/init.sh:/etc/sftp.d/init.sh
ports:
- "2222:22"
command: username:userpass:2000:2000
squid:
network_mode: host # required for route back to localhost
image: datadog/squid
volumes:
- ./ftp/src/test/resources/squid.conf:/etc/squid/squid.conf
ports:
- "3128:3128"
pravega:
image: pravega/pravega:0.7.0
ports:
- 9090:9090
- 12345:12345
command: standalone