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: docs/public/port_detection.md
+6
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,8 @@ services:
74
74
### Port detection with frameworks
75
75
### Java Frameworks
76
76
77
+
For Java frameworks not having a specific application file, Alizer will only try to detect ports defined inside `.java` files and not inside the entire component directory.
78
+
77
79
#### Micronaut
78
80
79
81
Alizer checks if the environment variable MICRONAUT_SERVER_SSL_ENABLED is set to true. If so, both MICRONAUT_SERVER_SSL_PORT and MICRONAUT_SERVER_PORT are checked (if false, only the MICRONAUT_SERVER_PORT is used for verification). Alizer will first look for if the env vars are set in the system and if it doesn't find them it will also look for a dockerfile. If they are not set or they do not contain valid port values, Alizer searches for the `application.[yml|yaml]` file in `src/main/resources` folder and verify if one or more ports are set.
@@ -179,6 +181,8 @@ Alizer searches inside the `pom.xml` file to find any configuration inside the p
179
181
180
182
### Javascript Frameworks
181
183
184
+
For JavaScript frameworks not having a specific application file, Alizer will only try to detect ports defined inside `.js` files and not inside the entire component directory.
185
+
182
186
### Angular
183
187
184
188
Alizer uses three ways to detect ports configuration in an Angular project
@@ -317,6 +321,8 @@ Example
317
321
318
322
### GoLang Frameworks
319
323
324
+
For Golang frameworks not having a specific application file, Alizer will only try to detect ports defined inside `.go` files and not inside the entire component directory.
325
+
320
326
#### Beego
321
327
322
328
Alizer parses the `conf/app.conf` file looking for the `httpport` variable
0 commit comments