forked from akka/alpakka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
256 lines (254 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
# 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: '3.7'
services:
amazoneventbridge:
image: localstack/localstack:0.10.6
environment:
- "SERVICES=events"
- "DEBUG=true"
ports:
- "4587:4587"
amazonsns:
image: pafortin/goaws
ports:
- "4100:4100"
volumes:
- ./sns/src/test/travis/:/conf/
amqp:
image: rabbitmq:3
ports:
- "5672:5672"
cassandra:
image: cassandra:4.0
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:1.3.4
ports:
- "9324:9324"
dynamodb:
image: deangiberson/aws-dynamodb-local
ports:
- "8001:8000"
elasticsearch6:
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.23
ports:
- "9201:9200"
environment:
- "discovery.type=single-node"
elasticsearch7:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.0
ports:
- "9202:9200"
environment:
- "discovery.type=single-node"
opensearch1:
image: opensearchproject/opensearch:1.3.1
ports:
- "9203:9200"
environment:
- "discovery.type=single-node"
- "DISABLE_SECURITY_PLUGIN=true"
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
# https://docs.docker.com/compose/environment-variables/
FTP_USER_UID: ${FTP_USER_UID:-2000}
FTP_USER_GID: ${FTP_USER_GID:-2000}
ADDED_FLAGS: "--tls=1"
geode:
container_name: geode
image: apachegeode/geode:1.15.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:
# https://hub.docker.com/r/google/cloud-sdk/tags
image: google/cloud-sdk:416.0.0
ports:
- "8538:8538"
command: gcloud beta emulators pubsub start --project=alpakka --host-port=0.0.0.0:8538
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:latest
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:
- kudu-tserver-data:/var/lib/kudu/tserver
kudu-master:
image: kunickiaj/kudu
ports:
- 7051:7051
volumes:
- kudu-tserver-data:/var/lib/kudu/tserver
command: master
kudu-tserver:
image: kunickiaj/kudu
environment:
- KUDU_MASTER=kudu-master
ports:
- 7050:7050
volumes:
- kudu-tserver-data:/var/lib/kudu/tserver
command: tserver
links:
- kudu-master
mongo:
image: mongo
ports:
- "27017:27017"
influxdb:
image: influxdb:1.8-alpine
ports:
- "8086:8086"
mqtt:
image: eclipse-mosquitto:2.0
user: 1000:1000
ports:
- "1883:1883"
volumes:
- ./mqtt/src/test/mosquitto:/mosquitto:rw
networks:
- default
orientdb:
image: orientdb:3.1.9
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:${FTP_USER_UID:-2000}:${FTP_USER_GID:-2000}
squid:
network_mode: host # required for route back to localhost
image: ubuntu/squid
volumes:
- ./ftp/src/test/resources/squid.conf:/etc/squid/squid.conf
pravega:
image: pravega/pravega:0.10.2
ports:
- 9090:9090
- 12345:12345
command: standalone
volumes:
kudu-tserver-data: