added documentation and add pr link to the changelog

This commit is contained in:
Sebastian Sdorra
2020-06-08 11:05:22 +02:00
parent 073d317c9f
commit e9a4068e76
2 changed files with 19 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Added
- Option to configure jvm parameter of docker container with env JAVA_OPTS or with arguments
- Option to configure jvm parameter of docker container with env JAVA_OPTS or with arguments ([#1175](https://github.com/scm-manager/scm-manager/pull/1175))
### Fixed
- Fixes configuration of jetty listener address with system property `jetty.host` ([#1173](https://github.com/scm-manager/scm-manager/pull/1173), [#1174](https://github.com/scm-manager/scm-manager/pull/1174))

View File

@@ -43,6 +43,24 @@ If you want to use the ssh plugin, keep in mind that this plugin requires an ext
docker run --name scm -p 2222:2222 -p 8080:8080 -v scm-home:/var/lib/scm scmmanager/scm-manager:<version>
```
## JVM Parameters
If it becomes necessary to add JVM parameters to the start, there are two ways to do this:
* As argument e.g.:
```bash
docker run scmmanager/scm-manager:<version> -Dsome.property=value
```
* Or as JAVA_OPTS environment variable e.g.:
```bash
docker run -e JAVA_OPTS="-Dsome.property=value" scmmanager/scm-manager:<version>
```
## Docker Compose
If you want to use the image with docker-compose have a look at the example below.