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
(cherry picked from commit df93d31fe0)
This commit is contained in:
Isaac Prior 2019-08-06 11:53:21 +01:00 committed by Mark Goddard
parent 3dc802045f
commit c898fe01b3

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",