Skip to content

Commit d56b636

Browse files
committed
Typo in alarm-server workflow
1 parent cf28ea2 commit d56b636

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

.github/workflows/alarm-server-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Build and publish the Docker image
4444
uses: docker/build-push-action@v5
4545
with:
46-
context: services/save-and-restore
46+
context: services/alarm-server
4747
push: true
4848
platforms: linux/amd64
4949
tags: ${{ steps.meta.outputs.tags }}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
services:
2+
zookeeper:
3+
image: confluentinc/cp-zookeeper:latest
4+
container_name: zookeeper
5+
healthcheck:
6+
test: nc -z localhost 2181 || exit -1
7+
interval: 10s
8+
timeout: 5s
9+
retries: 3
10+
environment:
11+
ZOOKEEPER_CLIENT_PORT: 2181
12+
ZOOKEEPER_TICK_TIME: 2000
13+
ports:
14+
- 2181:2181
15+
16+
17+
kafka:
18+
image: confluentinc/cp-kafka:latest
19+
hostname: ${HOSTNAME}
20+
ports:
21+
- 9092:9092
22+
depends_on:
23+
- zookeeper
24+
healthcheck:
25+
test: kafka-topics --bootstrap-server broker:9092 --list
26+
interval: 30s
27+
timeout: 10s
28+
retries: 3
29+
environment:
30+
KAFKA_BROKER_ID: 1
31+
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
32+
KAFKA_LISTENERS: INTERNAL://0.0.0.0:9094,OUTSIDE://0.0.0.0:9092
33+
KAFKA_ADVERTISED_LISTENERS: INTERNAL://:9094,OUTSIDE://:9092
34+
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL:PLAINTEXT,OUTSIDE:PLAINTEXT
35+
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
36+
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL
37+
38+
alarmserver:
39+
image: ghcr.io/controlsystemstudio/phoebus/service-alarm-server:csstudio-2989
40+
depends_on:
41+
- kafka
42+
command: >
43+
/bin/bash -c "
44+
java -jar /alarmserver/service-alarm-server-*.jar"
45+

0 commit comments

Comments
 (0)