Skip to content

Commit

Permalink
qanary-component-ned-openai-gpt: fixed deploy conf
Browse files Browse the repository at this point in the history
  • Loading branch information
anbo-de committed Jan 3, 2024
1 parent a82a706 commit 167ebe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service_config/build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ then
echo "OPENAI_API_KEY is not set. Check your secrets."
exit 2 # stop if no API key is set
else
sed -i "s/API_KEY/$OPENAI_API_KEY/g" ./service_config/files/ned-openai-gpt
sed -i "s/OPENAI_API_KEY_PLACEHOLDER/$OPENAI_API_KEY/g" ./service_config/files/ned-openai-gpt
fi


Expand Down
2 changes: 1 addition & 1 deletion service_config/files/ned-openai-gpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ SERVER_HOST=http://demos.swe.htwk-leipzig.de
SERVER_PORT=40132
SPRING_BOOT_ADMIN_URL=http://demos.swe.htwk-leipzig.de:40111/
SPRING_BOOT_ADMIN_CLIENT_INSTANCE_SERVICE-BASE-URL=http://demos.swe.htwk-leipzig.de:40132
OPENAI_API_KEY=API_KEY
OPENAI_API_KEY=OPENAI_API_KEY_PLACEHOLDER

0 comments on commit 167ebe4

Please sign in to comment.