File tree Expand file tree Collapse file tree 2 files changed +30
-8
lines changed Expand file tree Collapse file tree 2 files changed +30
-8
lines changed Original file line number Diff line number Diff line change 11
11
# See the License for the specific language governing permissions and
12
12
# limitations under the License.
13
13
14
- echo " Starting Docker"
15
- sudo service docker start
16
-
17
- # Start MQTT for Binding tests
18
- # Dashboard: http://localhost:18083 (user: admin, pass: public)
19
- # Ports: 1883 = TCP MQTT Port | 8081 = HTTP API | 8083 = MQTT/SSL Port | 8883 = MQTT/Websocket/SSL Port | 8084 = MQTT/Websocket Port | 18083 = Dashboard
20
- echo " Starting MQTT Broker for specific Bindings"
21
- docker run -d --rm --name emqx -p 1883:1883 -p 8081:8081 -p 8083:8083 -p 8883:8883 -p 8084:8084 -p 18083:18083 emqx/emqx
14
+ ./test-init.sh
22
15
23
16
# Start gRPC tests
24
17
echo " Running gRPC tests"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ #
3
+ # Copyright 2022 The Dapr Authors
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS,
10
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ # See the License for the specific language governing permissions and
12
+ # limitations under the License.
13
+
14
+ echo " Starting Docker"
15
+ sudo service docker start
16
+
17
+ # Start MQTT for Binding tests
18
+ # Dashboard: http://localhost:18083 (user: admin, pass: public)
19
+ # Ports: 1883 = TCP MQTT Port | 8081 = HTTP API | 8083 = MQTT/SSL Port | 8883 = MQTT/Websocket/SSL Port | 8084 = MQTT/Websocket Port | 18083 = Dashboard
20
+ echo " Starting MQTT Broker"
21
+ docker run -d --rm --name emqx -p 1883:1883 -p 8081:8081 -p 8083:8083 -p 8883:8883 -p 8084:8084 -p 18083:18083 emqx/emqx
22
+
23
+ echo " Starting Rabbit MQ"
24
+ docker run -d --rm --hostname my-rabbitmq --name my-rabbitmq \
25
+ -p 0.0.0.0:5672:5672 -p 0.0.0.0:15672:15672 \
26
+ rabbitmq:3-management
27
+
28
+ echo " Starting MongoDB"
29
+ docker run -d --rm --name mongodb -p 27017:27017 mongo
You can’t perform that action at this time.
0 commit comments