You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/howto-deploy-java-liberty-app.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,10 +86,10 @@ If you navigated away from the **Deployment is in progress** page, the following
86
86
*`appDeploymentTemplateYaml` if you select **No** to **Deploy an application?** when deploying the Marketplace offer; or `appDeploymentYaml` if you select **yes** to **Deploy an application?**.
87
87
88
88
### [Bash](#tab/in-bash)
89
-
Paste the value of `appDeploymentTemplateYaml` or `appDeploymentYaml` into a Bash shell, append `| grep secretName`, and execute. This command will output the Ingress TLS secret name, such as `- secretName: secret785e2c`. Save aside the value for `secretName` from the output.
89
+
Paste the value of `appDeploymentTemplateYaml` or `appDeploymentYaml` into a Bash shell, append `| grep secretName`, and execute. This command will output the Ingress TLS secret name, such as `- secretName: secret785e2c`. Save aside the value for `secretName` from the output.
90
90
91
91
### [PowerShell](#tab/in-powershell)
92
-
Paste the quoted string in `appDeploymentTemplateYaml` or `appDeploymentYaml` into a PowerShell, append `| ForEach-Object { [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($_)) } | Select-String "secretName"`, and execute. This command will output the Ingress TLS secret name, such as `- secretName: secret785e2c`. Save aside the value for `secretName` from the output.
92
+
Paste the quoted string in `appDeploymentTemplateYaml` or `appDeploymentYaml` into a PowerShell, append `| ForEach-Object { [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($_)) } | Select-String "secretName"`, and execute. This command will output the Ingress TLS secret name, such as `- secretName: secret785e2c`. Save aside the value for `secretName` from the output.
93
93
94
94
---
95
95
@@ -234,23 +234,23 @@ You can now use the following steps to test the Docker image locally before depl
234
234
1. Run the image using the following command. Note we're using the environment variables defined previously.
235
235
236
236
### [Bash](#tab/in-bash)
237
-
```bash
238
-
docker run -it --rm -p 9080:9080 \
239
-
-e DB_SERVER_NAME=${DB_SERVER_NAME} \
240
-
-e DB_NAME=${DB_NAME} \
241
-
-e DB_USER=${DB_USER} \
242
-
-e DB_PASSWORD=${DB_PASSWORD} \
243
-
javaee-cafe:v1
237
+
```bash
238
+
docker run -it --rm -p 9080:9080 \
239
+
-e DB_SERVER_NAME=${DB_SERVER_NAME} \
240
+
-e DB_NAME=${DB_NAME} \
241
+
-e DB_USER=${DB_USER} \
242
+
-e DB_PASSWORD=${DB_PASSWORD} \
243
+
javaee-cafe:v1
244
244
```
245
245
### [PowerShell](#tab/in-powershell)
246
-
```powershell
247
-
docker run -it --rm -p 9080:9080 `
248
-
-e DB_SERVER_NAME=${Env:DB_SERVER_NAME} `
249
-
-e DB_NAME=${Env:DB_NAME} `
250
-
-e DB_USER=${Env:DB_USER} `
251
-
-e DB_PASSWORD=${Env:DB_PASSWORD} `
252
-
javaee-cafe:v1
253
-
```
246
+
```powershell
247
+
docker run -it --rm -p 9080:9080 `
248
+
-e DB_SERVER_NAME=${Env:DB_SERVER_NAME} `
249
+
-e DB_NAME=${Env:DB_NAME} `
250
+
-e DB_USER=${Env:DB_USER} `
251
+
-e DB_PASSWORD=${Env:DB_PASSWORD} `
252
+
javaee-cafe:v1
253
+
```
254
254
---
255
255
256
256
1. Once the container starts, go to `http://localhost:9080/` in your browser to access the application.
@@ -330,13 +330,13 @@ The following steps deploy and test the application.
0 commit comments