Skip to content

Commit 155f647

Browse files
Adds a note about changing the port (re: structurizr/lite#213).
1 parent 7735c35 commit 155f647

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lite/02-installation.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To use the Spring Boot version, you'll need:
4848
Download the `structurizr-lite.war` file from [https://github.com/structurizr/lite/releases](https://github.com/structurizr/lite/releases), and start with the following command, replacing `PATH` with the path to your Structurizr data directory:
4949

5050
```
51-
java -Djdk.util.jar.enableMultiRelease=false -jar structurizr-lite.war PATH
51+
java -jar structurizr-lite.war PATH
5252
```
5353

5454

@@ -57,3 +57,11 @@ For example, if your Structurizr data directory is located at `/Users/simon/stru
5757
```
5858
java -jar structurizr-lite.war /Users/simon/structurizr
5959
```
60+
61+
### Changing the port number
62+
63+
To change the port number, add a JVM system property named `server.port`. For example:
64+
65+
```
66+
java -Dserver.port=9090 structurizr-lite.war /Users/simon/structurizr
67+
```

0 commit comments

Comments
 (0)