Skip to content

Commit 3fbce97

Browse files
committed
add updated quarkus tutorial
1 parent 9461827 commit 3fbce97

File tree

36 files changed

+826
-2
lines changed

36 files changed

+826
-2
lines changed

articles/app-service/includes/quickstart-java/quickstart-java-javase.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,12 @@ With all the configuration ready in your [pom.xml](https://github.com/Azure-Samp
171171
### [Quarkus](#tab/quarkus)
172172
173173
```bash
174-
echo "%prod.quarkus.http.port=80" >> src/main/resources/application.properties
174+
echo '%prod.quarkus.http.port=${PORT}' >> src/main/resources/application.properties
175175
mvn clean package -Dquarkus.package.jar.type=uber-jar
176176
```
177177
178178
In these commands:
179-
- You set the Quarkus port in the *application.properties* file to match the default port that the Linux Java container uses.
179+
- You set the Quarkus port in the *application.properties* file to the PORT environment variable in the Linux Java container.
180180
- `quarkus.package.jar.type=uber-jar` tells Maven to [generate an Uber-Jar](https://quarkus.io/guides/maven-tooling#uber-jar-maven), which includes all dependencies in the JAR file.
181181
182182
> [!TIP]
93.8 KB
Loading
120 KB
Loading
96.1 KB
Loading
52.7 KB
Loading
76.5 KB
Loading
108 KB
Loading
154 KB
Loading
60 KB
Loading
119 KB
Loading

0 commit comments

Comments
 (0)