From e81b4c36da9d93ba3448d5299b1924689d6da3db Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 10:43:57 +0100
Subject: [PATCH 1/9] Update and rename How to host on Azure app service.md to
azure-app-service
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
...Azure app service.md => azure-app-service} | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
rename detailed_guides/{How to host on Azure app service.md => azure-app-service} (76%)
diff --git a/detailed_guides/How to host on Azure app service.md b/detailed_guides/azure-app-service
similarity index 76%
rename from detailed_guides/How to host on Azure app service.md
rename to detailed_guides/azure-app-service
index a0dc543..ef505e5 100644
--- a/detailed_guides/How to host on Azure app service.md
+++ b/detailed_guides/azure-app-service
@@ -1,9 +1,15 @@
+![image](https://user-images.githubusercontent.com/39274208/216566367-e1311c9e-bbc1-42fe-9e09-69e9fb728133.png)
+
+
You can choose to host the docker contained on app service so you have less maintenance, and it is also cheaper than a VM.
As a student, you can get free Azure credits and you can get free Azure credits with you MSDN license if you work at a Microsoft partner.
The steps are also fairly straightforward.
To make it work on Azure App service follow the following steps:
+![image](https://user-images.githubusercontent.com/39274208/216566481-e06ccf0d-7346-438b-ab5a-7cd4ac6b08f5.png)
+
+
Creating the container:
1. Sign into Azure via portal.azure.com
@@ -18,6 +24,8 @@ Creating the container:
10. Go to "review and create" and create the container!
11. Wait a minute until it gets provisioned.
+![image](https://user-images.githubusercontent.com/39274208/216566567-a00bd5c1-1ab4-4250-a6d6-9ab9d872bd31.png)
+
Configurating the container:
App services makes it easy for you to add ENV files without using the CLI. We do this first
@@ -36,10 +44,13 @@ GPT_ROLES
OPENAI_TOKEN
HEALTH_SERVICE_ENABLED
- 2. It's important to also add WEBSITES_PORT to the application settings, since we are using the port for the health check of the container.
- 3. Go to "Health check" under monitoring and enter the following value: /healthz
- 4. Of course, set health check to: "on"
- 5. Press save.
+
+
+Health
+ 1. It's important to also add WEBSITES_PORT to the application settings, since we are using the port for the health check of the container. Use 8181.
+ 2. Go to "Health check" under monitoring and enter the following value: /healthz
+ 3. Of course, set health check to: "on"
+ 4. Press save.
Last step: go to "deployment center" and turn off "continious deployment".
This will make sure we get the latest build from docker hub when we restart the container.
From 5b84ca73cf6d51ddd70b032f27d2aca475a1cf21 Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 10:50:58 +0100
Subject: [PATCH 2/9] Update azure-app-service
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/azure-app-service | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/detailed_guides/azure-app-service b/detailed_guides/azure-app-service
index ef505e5..44ceff7 100644
--- a/detailed_guides/azure-app-service
+++ b/detailed_guides/azure-app-service
@@ -30,7 +30,7 @@ Configurating the container:
App services makes it easy for you to add ENV files without using the CLI. We do this first
-1. go to "configuration" under "settings"
+1. Go to "configuration" under "settings"
Enter the following env files as defined in the readme.md file in this repository:
The most important application settings are:
@@ -44,8 +44,6 @@ GPT_ROLES
OPENAI_TOKEN
HEALTH_SERVICE_ENABLED
-
-
Health
1. It's important to also add WEBSITES_PORT to the application settings, since we are using the port for the health check of the container. Use 8181.
2. Go to "Health check" under monitoring and enter the following value: /healthz
From 7803d2fb15e505a9ce7e71d15f1744af38c07235 Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 10:51:57 +0100
Subject: [PATCH 3/9] Update azure-app-service
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/azure-app-service | 1 -
1 file changed, 1 deletion(-)
diff --git a/detailed_guides/azure-app-service b/detailed_guides/azure-app-service
index 44ceff7..6f6d51e 100644
--- a/detailed_guides/azure-app-service
+++ b/detailed_guides/azure-app-service
@@ -1,6 +1,5 @@
![image](https://user-images.githubusercontent.com/39274208/216566367-e1311c9e-bbc1-42fe-9e09-69e9fb728133.png)
-
You can choose to host the docker contained on app service so you have less maintenance, and it is also cheaper than a VM.
As a student, you can get free Azure credits and you can get free Azure credits with you MSDN license if you work at a Microsoft partner.
The steps are also fairly straightforward.
From cdbd9ac20f73d0e80c8eec7fba50be901d8a8941 Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 10:52:14 +0100
Subject: [PATCH 4/9] Rename azure-app-service to azure-app-service.md
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/{azure-app-service => azure-app-service.md} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename detailed_guides/{azure-app-service => azure-app-service.md} (100%)
diff --git a/detailed_guides/azure-app-service b/detailed_guides/azure-app-service.md
similarity index 100%
rename from detailed_guides/azure-app-service
rename to detailed_guides/azure-app-service.md
From 700e71da9ba2982af1a40e765e2c5dc93fa6bdd7 Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 11:00:31 +0100
Subject: [PATCH 5/9] Update azure-app-service.md
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/azure-app-service.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/detailed_guides/azure-app-service.md b/detailed_guides/azure-app-service.md
index 6f6d51e..549e11d 100644
--- a/detailed_guides/azure-app-service.md
+++ b/detailed_guides/azure-app-service.md
@@ -1,4 +1,4 @@
-![image](https://user-images.githubusercontent.com/39274208/216566367-e1311c9e-bbc1-42fe-9e09-69e9fb728133.png)
+
You can choose to host the docker contained on app service so you have less maintenance, and it is also cheaper than a VM.
As a student, you can get free Azure credits and you can get free Azure credits with you MSDN license if you work at a Microsoft partner.
@@ -6,8 +6,7 @@ The steps are also fairly straightforward.
To make it work on Azure App service follow the following steps:
-![image](https://user-images.githubusercontent.com/39274208/216566481-e06ccf0d-7346-438b-ab5a-7cd4ac6b08f5.png)
-
+
Creating the container:
@@ -23,7 +22,7 @@ Creating the container:
10. Go to "review and create" and create the container!
11. Wait a minute until it gets provisioned.
-![image](https://user-images.githubusercontent.com/39274208/216566567-a00bd5c1-1ab4-4250-a6d6-9ab9d872bd31.png)
+
Configurating the container:
@@ -43,6 +42,9 @@ GPT_ROLES
OPENAI_TOKEN
HEALTH_SERVICE_ENABLED
+
+
+
Health
1. It's important to also add WEBSITES_PORT to the application settings, since we are using the port for the health check of the container. Use 8181.
2. Go to "Health check" under monitoring and enter the following value: /healthz
From 50d3f7fb265c2c0e4f232a66efff871f16076e2e Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 11:02:13 +0100
Subject: [PATCH 6/9] Update azure-app-service.md
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/azure-app-service.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/detailed_guides/azure-app-service.md b/detailed_guides/azure-app-service.md
index 549e11d..5558fc2 100644
--- a/detailed_guides/azure-app-service.md
+++ b/detailed_guides/azure-app-service.md
@@ -42,9 +42,7 @@ GPT_ROLES
OPENAI_TOKEN
HEALTH_SERVICE_ENABLED
-
-
-
+
Health
1. It's important to also add WEBSITES_PORT to the application settings, since we are using the port for the health check of the container. Use 8181.
2. Go to "Health check" under monitoring and enter the following value: /healthz
From fe929689a5a919d173872883a9e00f455cfb07cc Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 11:02:31 +0100
Subject: [PATCH 7/9] Update azure-app-service.md
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/azure-app-service.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/detailed_guides/azure-app-service.md b/detailed_guides/azure-app-service.md
index 5558fc2..d7901b7 100644
--- a/detailed_guides/azure-app-service.md
+++ b/detailed_guides/azure-app-service.md
@@ -44,6 +44,7 @@ HEALTH_SERVICE_ENABLED
Health
+
1. It's important to also add WEBSITES_PORT to the application settings, since we are using the port for the health check of the container. Use 8181.
2. Go to "Health check" under monitoring and enter the following value: /healthz
3. Of course, set health check to: "on"
From 6830ff57557276c4d16b319662d13145dcf563d6 Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 11:02:50 +0100
Subject: [PATCH 8/9] Update azure-app-service.md
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/azure-app-service.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/detailed_guides/azure-app-service.md b/detailed_guides/azure-app-service.md
index d7901b7..1bfba1a 100644
--- a/detailed_guides/azure-app-service.md
+++ b/detailed_guides/azure-app-service.md
@@ -43,7 +43,7 @@ OPENAI_TOKEN
HEALTH_SERVICE_ENABLED
-Health
+Health:
1. It's important to also add WEBSITES_PORT to the application settings, since we are using the port for the health check of the container. Use 8181.
2. Go to "Health check" under monitoring and enter the following value: /healthz
From 753f41bc7bad177c99f9168ef5c5429c21b8a59b Mon Sep 17 00:00:00 2001
From: falkoro <39274208+falkoro@users.noreply.github.com>
Date: Fri, 3 Feb 2023 11:03:06 +0100
Subject: [PATCH 9/9] Update azure-app-service.md
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
---
detailed_guides/azure-app-service.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/detailed_guides/azure-app-service.md b/detailed_guides/azure-app-service.md
index 1bfba1a..aa43c1a 100644
--- a/detailed_guides/azure-app-service.md
+++ b/detailed_guides/azure-app-service.md
@@ -6,7 +6,7 @@ The steps are also fairly straightforward.
To make it work on Azure App service follow the following steps:
-
+
Creating the container: