Skip to content

Commit 7697621

Browse files
committed
Add restart: on-failure to zookeeper
Co-authored-by: Thomas Carmet <8408330+tcarmet@users.noreply.github.com>
1 parent 16c56e0 commit 7697621

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/global/docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ services:
146146
zookeeper:
147147
build:
148148
context: ./config/kafka
149+
restart: on-failure
149150
container_name: workbench-zookeeper
150151
network_mode: host
151152
command: /opt/kafka/bin/zookeeper-server-start.sh /opt/kafka/config/zookeeper.properties

0 commit comments

Comments
 (0)