mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-19 22:49:00 +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
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# 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
|
cp /openmetadata.yaml /openmetadata-*/conf/openmetadata.yaml
|
||||||
cd /openmetadata-*/
|
cd /openmetadata-*/
|
||||||
./bootstrap/bootstrap_storage.sh migrate-all
|
./bootstrap/bootstrap_storage.sh migrate-all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user