mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
added documentation and add pr link to the changelog
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user