From 167ebe45dd7cadc23b2cf747a94db965f2ae51bb Mon Sep 17 00:00:00 2001 From: anbo-de Date: Wed, 3 Jan 2024 14:05:10 +0100 Subject: [PATCH] qanary-component-ned-openai-gpt: fixed deploy conf --- service_config/build_images.sh | 2 +- service_config/files/ned-openai-gpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service_config/build_images.sh b/service_config/build_images.sh index 594b0458..8f4ded75 100755 --- a/service_config/build_images.sh +++ b/service_config/build_images.sh @@ -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 diff --git a/service_config/files/ned-openai-gpt b/service_config/files/ned-openai-gpt index 9022bce3..3789f8f4 100644 --- a/service_config/files/ned-openai-gpt +++ b/service_config/files/ned-openai-gpt @@ -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 \ No newline at end of file +OPENAI_API_KEY=OPENAI_API_KEY_PLACEHOLDER \ No newline at end of file