浏览代码

fix(api-gateway): awaiting for other services to start

Karol Sójko 1 年之前
父节点
当前提交
0ab47013f2
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/api-gateway/supervisor/supervisor-server.sh

+ 3 - 0
packages/api-gateway/supervisor/supervisor-server.sh

@@ -2,5 +2,8 @@
 
 
 set -euo pipefail
 set -euo pipefail
 
 
+sh supervisor/wait-for.sh localhost $AUTH_SERVER_PORT
+sh supervisor/wait-for.sh localhost $FILES_SERVER_PORT
+sh supervisor/wait-for.sh localhost $REVISIONS_SERVER_PORT
 sh supervisor/wait-for.sh localhost $SYNCING_SERVER_PORT
 sh supervisor/wait-for.sh localhost $SYNCING_SERVER_PORT
 node docker/entrypoint-server.js
 node docker/entrypoint-server.js