Browse Source

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

Karol Sójko 1 year ago
parent
commit
0ab47013f2
1 changed files with 3 additions and 0 deletions
  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
 
+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
 node docker/entrypoint-server.js