Moves monasca-thresh java.io.tmpdir to existing docker volume

This prevents the container's root filesystem from filling up.

Change-Id: Icc5a08c82312d6688edf2ef36562967ac94e8ac9
Depends-On: https://review.opendev.org/#/c/674779
Closes-Bug: #1839149
This commit is contained in:
Isaac Prior 2019-08-06 11:53:21 +01:00 committed by Doug Szumski
parent 9a652b29e5
commit df93d31fe0
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{
"command": "/opt/storm/bin/storm jar /monasca-thresh-source/monasca-thresh-*/thresh/target/monasca-thresh-*-SNAPSHOT-shaded.jar monasca.thresh.ThresholdingEngine /etc/monasca/thresh-config.yml monasca-thresh local",
"command": "/opt/storm/bin/storm jar /monasca-thresh-source/monasca-thresh-*/thresh/target/monasca-thresh-*-SNAPSHOT-shaded.jar -Djava.io.tmpdir=/var/lib/monasca-thresh/data monasca.thresh.ThresholdingEngine /etc/monasca/thresh-config.yml monasca-thresh local",
"config_files": [
{
"source": "{{ container_config_directory }}/thresh-config.yml",