1 Star 0 Fork 0

tianyue/cvat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wait_for_deps.sh 693 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
# Copyright (C) 2023 CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
# This is a wrapper script for running backend services. It waits for services
# the backend depends on to start before executing the backend itself.
# Ideally, the check that all DB migrations have completed should also be here,
# but it's too resource-intensive to execute for every worker we might be running
# in a container. Instead, it's in backend_entrypoint.sh.
~/wait-for-it.sh "${CVAT_POSTGRES_HOST}:${CVAT_POSTGRES_PORT:-5432}" -t 0
~/wait-for-it.sh "${CVAT_REDIS_INMEM_HOST}:${CVAT_REDIS_INMEM_PORT}" -t 0
~/wait-for-it.sh "${CVAT_REDIS_ONDISK_HOST}:${CVAT_REDIS_ONDISK_PORT}" -t 0
exec "$@"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tianyue_688/cvat.git
git@gitee.com:tianyue_688/cvat.git
tianyue_688
cvat
cvat
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385