mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-18 14:06:59 +00:00
Add env vars for host and port + verbosity (#2490)
This commit is contained in:
parent
a82952f5d9
commit
edea57b4ad
@ -10,7 +10,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
while ! wget -O /dev/null -o /dev/null mysql:3306; do sleep 5; done
|
||||
MYSQL="${MYSQL_HOST:-mysql}":"${MYSQL_PORT:-3306}"
|
||||
while ! wget -O /dev/null -o /dev/null "${MYSQL}";
|
||||
do echo "Trying to connect to ${MYSQL}"; sleep 5;
|
||||
done
|
||||
cp /openmetadata.yaml /openmetadata-*/conf/openmetadata.yaml
|
||||
cd /openmetadata-*/
|
||||
./bootstrap/bootstrap_storage.sh migrate-all
|
||||
|
Loading…
x
Reference in New Issue
Block a user