fix: fix entrypoint in docker compose for Kafka bridge test
This commit is contained in:
parent
ac37c5d58a
commit
5ec4b0a6ca
|
@ -15,6 +15,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- emqx-shared-secret:/var/lib/secret
|
- emqx-shared-secret:/var/lib/secret
|
||||||
- ./kafka/generate-certs.sh:/bin/generate-certs.sh
|
- ./kafka/generate-certs.sh:/bin/generate-certs.sh
|
||||||
|
entrypoint: /bin/sh
|
||||||
command: /bin/generate-certs.sh
|
command: /bin/generate-certs.sh
|
||||||
kdc:
|
kdc:
|
||||||
hostname: kdc.emqx.net
|
hostname: kdc.emqx.net
|
||||||
|
|
|
@ -145,12 +145,6 @@ if [ "$ONLY_UP" = 'yes' ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sleep 10
|
|
||||||
|
|
||||||
echo "DOCKER COMPOSE LOGS kafka_1"
|
|
||||||
|
|
||||||
docker-compose $F_OPTIONS logs kafka_1
|
|
||||||
|
|
||||||
if [ "$ATTACH" = 'yes' ]; then
|
if [ "$ATTACH" = 'yes' ]; then
|
||||||
docker exec -it "$ERLANG_CONTAINER" bash
|
docker exec -it "$ERLANG_CONTAINER" bash
|
||||||
elif [ "$CONSOLE" = 'yes' ]; then
|
elif [ "$CONSOLE" = 'yes' ]; then
|
||||||
|
|
Loading…
Reference in New Issue