diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index a6d22f43..bba98b5f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -14,6 +14,7 @@ jobs: MEANINGCLOUD_API_KEY: ${{ secrets.MEANINGCLOUD_API_KEY }} TAGME_API_KEY: ${{ secrets.TAGME_API_KEY }} TEXTRAZOR_API_KEY: ${{ secrets.TEXTRAZOR_API_KEY }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} steps: - name: Configure java uses: actions/setup-java@v4 diff --git a/qanary-component-NED-OpenAI-GPT/src/main/resources/config/application.properties b/qanary-component-NED-OpenAI-GPT/src/main/resources/config/application.properties index 482c6f3e..687d8e22 100644 --- a/qanary-component-NED-OpenAI-GPT/src/main/resources/config/application.properties +++ b/qanary-component-NED-OpenAI-GPT/src/main/resources/config/application.properties @@ -1,6 +1,6 @@ # Update the port number -server.port=5656 +server.port=40132 spring.application.name=GptBasedNamedEntityDisambiguation spring.application.description=${spring.application.name} is a Qanary component for NED based on Open AI's GPT API # additional optional local properties file diff --git a/service_config/files/ned-openai-gpt b/service_config/files/ned-openai-gpt index 06c6b075..9022bce3 100644 --- a/service_config/files/ned-openai-gpt +++ b/service_config/files/ned-openai-gpt @@ -1,5 +1,5 @@ SERVER_HOST=http://demos.swe.htwk-leipzig.de -SERVER_PORT=5656 +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 diff --git a/service_config/service_config.json b/service_config/service_config.json index 6c2e6735..f7be000e 100644 --- a/service_config/service_config.json +++ b/service_config/service_config.json @@ -137,7 +137,7 @@ }, { "mode": "dockerfile", - "port": "40132:5656", + "port": "40132:40132", "image": "qanary/qanary-component-ned-openai-gpt", "tag": "latest", "files": {