Explorar o código

change entrypoint.sh

Tomishinets Vladimir %!s(int64=4) %!d(string=hai) anos
pai
achega
6f9f4be0dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      entrypoint.sh

+ 1 - 1
entrypoint.sh

@@ -7,7 +7,7 @@ waitDb() {
     nslookup $1
   done
 }
-[ ! -z ${INIT} ] && { waitDb mongodb; waitDb fb3-lab }
+[ ! -z ${INIT} ] && { waitDb ${DB_CLUSTER}; waitDb ${FB_HOST} }
 
 #sed -i "s/\${DB_CLUSTER}/\"${DB_CLUSTER}\"/" /etc/web-laboratory-admin/application.conf
 #sed -i "s/ADMINHOST/0\.0\.0\.0:2551/" /etc/web-laboratory-admin/application.conf