Skip to content

Commit

Permalink
Fix small issues in docs (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
OndroMih authored Oct 4, 2024
1 parent 3a7977b commit 7fb615d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions 7.0.18/docs/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This will run GlassFish static shell JAR from the GlassFish installation, which
To display usage instructions, run:

```
docker run -it -p 8080:8080 glassfish runembedded
docker run -it -p 8080:8080 glassfish runembedded --help
```

To deploy an application, copy the application into the Docker image or mount the directory that contains it, and then pass the path to it as an argument. For example, if the application myapp.war is copied to the default `/opt/glassfish7` directory:
Expand Down Expand Up @@ -158,7 +158,7 @@ You can also just create a configuration file called `glassfish.properties` in t
To display usage instructions, run:

```
docker run -it -p 8080:8080 glassfish runembedded
docker run -it -p 8080:8080 glassfish runembedded --help
```

This Docker image also supports adding custom Java VM arguments, with the JVM_OPTS environments variable. FOr example, you can specify `-XX:MaxRAMPercentage=75` to set maximum heap size to 75% of RAM:
Expand All @@ -172,7 +172,7 @@ docker run -it -e JVM_OPTS=="-XX:MaxRAMPercentage=75" -p 8080:8080 glassfish run

To enable debugging, you can either add a custom debugging instruction for the JVM with the `JVM_OPTS` variable, or you can set one of the following environment variables to `true`:

* `DEBUG` - enables remove debugger on port 9009, doesn't suspend the server
* `DEBUG` - enables remote debugger on port 9009, doesn't suspend the server
* `SUSPEND` - suspends the server right at the startup and continues when a debugger connects on port 9009

Example:
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/docs/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This will run GlassFish static shell JAR from the GlassFish installation, which
To display usage instructions, run:

```
docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded
docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded --help
```

To deploy an application, copy the application into the Docker image or mount the directory that contains it, and then pass the path to it as an argument. For example, if the application myapp.war is copied to the default `/opt/glassfish7` directory:
Expand Down Expand Up @@ -158,7 +158,7 @@ You can also just create a configuration file called `glassfish.properties` in t
To display usage instructions, run:

```
docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded
docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded --help
```

This Docker image also supports adding custom Java VM arguments, with the JVM_OPTS environments variable. FOr example, you can specify `-XX:MaxRAMPercentage=75` to set maximum heap size to 75% of RAM:
Expand All @@ -172,7 +172,7 @@ docker run -it -e JVM_OPTS=="-XX:MaxRAMPercentage=75" -p 8080:8080 @docker.glass

To enable debugging, you can either add a custom debugging instruction for the JVM with the `JVM_OPTS` variable, or you can set one of the following environment variables to `true`:

* `DEBUG` - enables remove debugger on port 9009, doesn't suspend the server
* `DEBUG` - enables remote debugger on port 9009, doesn't suspend the server
* `SUSPEND` - suspends the server right at the startup and continues when a debugger connects on port 9009

Example:
Expand Down

0 comments on commit 7fb615d

Please sign in to comment.