Skip to content

Commit 42c7484

Browse files
committed
[docker]: integrate script to shutdown compose;
1 parent e481454 commit 42c7484

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docker-compose.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ services:
4646
environment:
4747
- BOOTSTRAP_SERVERS=kafka:9092
4848

49+
supervisor:
50+
image: alpine
51+
container_name: supervisor
52+
depends_on:
53+
- example-send
54+
volumes:
55+
- /var/run/docker.sock:/var/run/docker.sock
56+
- .:/app
57+
working_dir: /app
58+
command: sh supervisor.sh
59+
4960
volumes:
5061
zookeeper_data:
51-
kafka_data:
62+
kafka_data:

0 commit comments

Comments
 (0)