Skip to content

Commit

Permalink
fix(fv): use docker's tini/init for FV containers
Browse files Browse the repository at this point in the history
This is just to ensure a clean shutdown during the tests

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
  • Loading branch information
dnwe committed Apr 25, 2024
1 parent 1cb9154 commit 681001f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
zookeeper-1:
hostname: 'zookeeper-1'
image: 'docker.io/library/zookeeper:3.6.3'
init: true
restart: always
environment:
ZOO_MY_ID: '1'
Expand All @@ -15,6 +16,7 @@ services:
zookeeper-2:
hostname: 'zookeeper-2'
image: 'docker.io/library/zookeeper:3.6.3'
init: true
restart: always
environment:
ZOO_MY_ID: '2'
Expand All @@ -27,6 +29,7 @@ services:
zookeeper-3:
hostname: 'zookeeper-3'
image: 'docker.io/library/zookeeper:3.6.3'
init: true
restart: always
environment:
ZOO_MY_ID: '3'
Expand All @@ -39,6 +42,7 @@ services:
kafka-1:
hostname: 'kafka-1'
image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.0}'
init: true
build:
context: .
dockerfile: Dockerfile.kafka
Expand Down Expand Up @@ -84,6 +88,7 @@ services:
kafka-2:
hostname: 'kafka-2'
image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.0}'
init: true
build:
context: .
dockerfile: Dockerfile.kafka
Expand Down Expand Up @@ -129,6 +134,7 @@ services:
kafka-3:
hostname: 'kafka-3'
image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.0}'
init: true
build:
context: .
dockerfile: Dockerfile.kafka
Expand Down Expand Up @@ -174,6 +180,7 @@ services:
kafka-4:
hostname: 'kafka-4'
image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.0}'
init: true
build:
context: .
dockerfile: Dockerfile.kafka
Expand Down Expand Up @@ -219,6 +226,7 @@ services:
kafka-5:
hostname: 'kafka-5'
image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.0}'
init: true
build:
context: .
dockerfile: Dockerfile.kafka
Expand Down Expand Up @@ -264,6 +272,7 @@ services:
toxiproxy:
hostname: 'toxiproxy'
image: 'ghcr.io/shopify/toxiproxy:2.4.0'
init: true
healthcheck:
test: ['CMD', '/toxiproxy-cli', 'l']
interval: 15s
Expand Down

0 comments on commit 681001f

Please sign in to comment.