summaryrefslogtreecommitdiffstats
path: root/test/start_test.sh
diff options
context:
space:
mode:
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" \
+ "$@"