mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Docker and stat script changes
This commit is contained in:
parent
25963566ca
commit
e17760a8db
5 changed files with 165 additions and 148 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue