We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd0544 commit 5bce4ccCopy full SHA for 5bce4cc
.github/workflows/java-ci.yml
@@ -11,6 +11,7 @@ jobs:
11
runs-on: ubuntu-latest
12
13
services:
14
+
15
mongo:
16
image: mongo:6.0
17
ports:
@@ -21,6 +22,23 @@ jobs:
21
22
--health-timeout 5s
23
--health-retries 5
24
25
+ zookeeper:
26
+ image: wurstmeister/zookeeper
27
+ ports:
28
+ - 2181:2181
29
30
+ kafka:
31
+ image: wurstmeister/kafka
32
33
+ - 9092:9092
34
+ env:
35
+ KAFKA_ADVERTISED_HOST_NAME: localhost
36
+ KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
37
+ KAFKA_LISTENERS: PLAINTEXT://:9092
38
+ KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
39
+ options: >-
40
+ --health-cmd "echo 'hello'" --health-interval 10s --health-timeout 5s --health-retries 3
41
42
env:
43
MONGO_URI: ${{ secrets.MONGO_URI }}
44
MAIL_USERNAME: ${{ secrets.USERNAME }}
0 commit comments