Docker and stat script changes

This commit is contained in:
mrfry 2021-09-22 14:41:09 +02:00
parent 25963566ca
commit e17760a8db
5 changed files with 165 additions and 148 deletions

View file

@ -22,12 +22,12 @@ elif [ "$1" == "stop" ]; then
elif [ "$1" == "start" ]; then
# --entrypoint bash \
scripts/setup.sh
docker start -i $(getContainerId)
docker start $(getContainerId)
elif [ "$1" == "run" ]; then
# --entrypoint bash \
scripts/setup.sh
docker run -it \
docker run \
--network host \
--mount src="$(pwd)/stats",target="/server/stats",type=bind \
--mount src="$(pwd)/data",target="/server/data",type=bind \