mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-18 05:33:03 +00:00

* build(docker): refactor docker build scripts - add "build" option to docker-compose files to simplify rebuilding of images - create "start.sh" script so it's easier to override "command" in the quickstart's docker-compose file - use dockerize to wait for requisite services to start up - add a dedicated Dockerfile for kafka-setup This fixes https://github.com/linkedin/datahub/issues/1549 & https://github.com/linkedin/datahub/issues/1550
9 lines
242 B
Bash
9 lines
242 B
Bash
#!/bin/sh
|
|
|
|
dockerize \
|
|
-wait tcp://$EBEAN_DATASOURCE_HOST \
|
|
-wait tcp://$KAFKA_BOOTSTRAP_SERVER \
|
|
-wait http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT \
|
|
-wait http://$NEO4J_HOST \
|
|
-timeout 240s \
|
|
java -jar jetty-runner.jar gms.war |