summaryrefslogtreecommitdiffstats
path: root/test/start_test.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-28 19:43:26 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-28 19:43:26 +0200
commitd6e30533d7730331452c5f61a98c9d1eec486a0b (patch)
treeb23b00fe8d94c656f92d228fc2243942c14cb298 /test/start_test.sh
parentbf1b72fa544f9b2eb41867dd08d379242261ed35 (diff)
downloadmunin-d6e30533d7730331452c5f61a98c9d1eec486a0b.tar.gz
munin-d6e30533d7730331452c5f61a98c9d1eec486a0b.tar.bz2
munin-d6e30533d7730331452c5f61a98c9d1eec486a0b.tar.xz
munin-d6e30533d7730331452c5f61a98c9d1eec486a0b.zip
OpenShift support
Diffstat (limited to 'test/start_test.sh')
-rwxr-xr-xtest/start_test.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/start_test.sh b/test/start_test.sh
index 7f81e69..f348c7b 100755
--- a/test/start_test.sh
+++ b/test/start_test.sh
@@ -8,12 +8,8 @@ fi
basedir="$( cd -P "$( dirname "$0" )" && pwd )/munin"
docker run -it \
+ -u 1001 \
-p 8080:8080 \
- -v $basedir/log:/var/log/munin \
- -v $basedir/lib:/var/lib/munin \
- -v $basedir/run:/run/munin \
- -v $basedir/cache:/var/cache/munin \
- -e MUNIN_USER=user \
- -e MUNIN_PASSWORD=secret \
- -e NODES="172.17.0.1:$(hostname)" \
- $1
+ -v $basedir:/munin \
+ -e NODES="styx:192.168.26.117" \
+ "$@"