Skip to content

Commit

Permalink
feature(rundocker): add command arguments to vss.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigocaus committed Nov 9, 2020
1 parent 3678fc1 commit b45e7ab
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion rundocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
DOCKER_IMAGE=ger-vsss
CONTAINER_NAME=$DOCKER_IMAGE-container

TEAM_YELLOW=false

MULTICAST_IP=224.0.0.1
COMMAND_IP=127.0.0.1

COMMAND_PORT=20011
VISION_PORT=10002
REFEREE_PORT=10003
REPLACER_PORT=10004


docker run -it --rm \
--name $CONTAINER_NAME \
--user=$(id -u) \
Expand All @@ -19,4 +30,7 @@ docker run -it --rm \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/etc/sudoers.d:/etc/sudoers.d:ro" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
$DOCKER_IMAGE
$DOCKER_IMAGE \
./vss.exe --multicast_ip $MULTICAST_IP --command_ip $COMMAND_IP \
--referee_port $REFEREE_PORT --replacer_port $REPLACER_PORT \
--command_port $COMMAND_PORT -v $VISION_PORT -t $TEAM_YELLOW

0 comments on commit b45e7ab

Please sign in to comment.