fix: kafka environment port

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/926/head v3.2.2
Xinwei Xiong(cubxxw-openim) 2 years ago
parent f19c9d8e37
commit d687d269e0
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -116,7 +116,7 @@ services:
- ${DATA_DIR}/components/kafka:/bitnami/kafka - ${DATA_DIR}/components/kafka:/bitnami/kafka
command: > command: >
bash -c " bash -c "
/opt/bitnami/scripts/kafka/run.sh & sleep 1; /opt/bitnami/kafka/create_topic.sh; wait /opt/bitnami/scripts/kafka/run.sh & sleep 5; /opt/bitnami/kafka/create_topic.sh; wait
" "
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"

Loading…
Cancel
Save