mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-30 03:56:04 +00:00

* feat: neo4j https support (#2101) Ability to specify http as well as https URI schemes in the 'NEO4J_HOST' variable.
14 lines
388 B
Bash
Executable File
14 lines
388 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Add default URI (http) scheme if needed
|
|
if ! echo $NEO4J_HOST | grep -q "://" ; then
|
|
NEO4J_HOST="http://$NEO4J_HOST"
|
|
fi
|
|
|
|
dockerize \
|
|
-wait tcp://$EBEAN_DATASOURCE_HOST \
|
|
-wait tcp://$KAFKA_BOOTSTRAP_SERVER \
|
|
-wait http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT \
|
|
-wait $NEO4J_HOST \
|
|
-timeout 240s \
|
|
java -jar /jetty-runner.jar /datahub/datahub-gms/bin/war.war |