backend/kafka/restart-kafka.sh

13 lines
293 B
Bash
Raw Normal View History

2024-12-06 05:12:28 +00:00
#!/bin/bash
docker-compose -f /data/cheonan_ep/docker/col_server/kafka/docker-compose-kafka.yml down
docker-compose -f /data/cheonan_ep/docker/col_server/kafka/docker-compose-kafka.yml up -d
sleep 1
docker-compose -f /data/cheonan_ep/docker/col_server/kafka/docker-compose-kafka.yml ps