MVPilgrim commited on
Commit
61dc859
·
verified ·
1 Parent(s): 3f955ec

Update startup.sh

Browse files
Files changed (1) hide show
  1. startup.sh +4 -4
startup.sh CHANGED
@@ -9,7 +9,7 @@ echo "#### startup.sh entered."
9
  ################################################
10
  # Start tex2vec-transformers
11
  echo "#### Before /app/text2vec-transformers"
12
- /app/text2vec-transformers/bin/uvicorn app:app --host 0.0.0.0 --port 8081 --log-level debug --timeout-keep-alive 1440 &
13
 
14
  #sleep 5
15
  #echo "\n######## curl t2 "
@@ -37,15 +37,15 @@ export AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true \
37
  DEFAULT_VECTORIZER_MODULE=text2vec-transformers \
38
  ENABLE_MODULES=text2vec-transformers \
39
  TRANSFORMERS_INFERENCE_API=http://127.0.0.1:8081 \
40
- LOG_LEVEL=debug,
41
  MODULES_CLIENT_TIMEOUT=600s
42
- /app/weaviate/weaviate --host 127.0.0.1 --port 8080 --scheme http &
43
 
44
  echo "#### Before sleep."
45
  sleep 60
46
 
47
  echo "#### Before /app/semsearch.py"
48
- python /app/semsearch.py &
49
 
50
  # Display timestamps.
51
  for (( ; ; )) do date; sleep 60; done &
 
9
  ################################################
10
  # Start tex2vec-transformers
11
  echo "#### Before /app/text2vec-transformers"
12
+ /app/text2vec-transformers/bin/uvicorn app:app --host 0.0.0.0 --port 8081 --log-level debug --timeout-keep-alive 1440 2&> 1 | tee /data/var/lib/weaviate/t2v.log &
13
 
14
  #sleep 5
15
  #echo "\n######## curl t2 "
 
37
  DEFAULT_VECTORIZER_MODULE=text2vec-transformers \
38
  ENABLE_MODULES=text2vec-transformers \
39
  TRANSFORMERS_INFERENCE_API=http://127.0.0.1:8081 \
40
+ LOG_LEVEL=trace,
41
  MODULES_CLIENT_TIMEOUT=600s
42
+ /app/weaviate/weaviate --host 127.0.0.1 --port 8080 --scheme http 2&> 1 | tee /data/var/lib/weaviate/ws.log &
43
 
44
  echo "#### Before sleep."
45
  sleep 60
46
 
47
  echo "#### Before /app/semsearch.py"
48
+ python /app/semsearch.py 2&> 1 | tee /data/var/lib/weaviate/ss.log &
49
 
50
  # Display timestamps.
51
  for (( ; ; )) do date; sleep 60; done &