Skip to content

Commit

Permalink
Merge pull request #110 from RoboTeamTwente/update/autoref
Browse files Browse the repository at this point in the history
Submodules: update autoref, changes in active-passive modes
  • Loading branch information
JWillegers authored Dec 6, 2023
2 parents 75a2fd3 + d388652 commit 18e2d1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cd $ROBOTEAM_REPO
git submodule update --init --recursive
```

Then, install prerequisite: install Docker https://docs.docker.com/engine/install/, if you want you can add yourself to docker group in order to run Docker command without invoking root user https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user and finally install docker compose.
Then, install prerequisite: install **Docker Engine** and make sure to download "server" version, **not Docker Desktop** (we experienced issues with volumes permissions): https://docs.docker.com/engine/install/, if you want you can add yourself to docker group in order to run Docker command without invoking root user https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user and finally install docker compose.

Every subproject is meant to be executed as a service using its own container from a docker compose.
Every RTT subproject (service) runs in its own container (based on the same roboteamtwente image), this way that all dependencies and requirements are satisfied.
Expand Down
2 changes: 1 addition & 1 deletion docker/runner/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ services:
user: gradle # Do not build as root
restart: always
working_dir: "/home/roboteamtwente/"
command: sh -c "./gradlew run --args=\"-cli -active --world-ip=127.0.0.1 --world-port=5558 --gc-ip=127.0.0.1 --gc-port=10007\""
command: sh -c "./gradlew run --args=\"-cli --world-ip=127.0.0.1 --world-port=5558 --gc-ip=127.0.0.1 --gc-port=10007\""
network_mode: "host" # Workaround to connect from interface on host to AI websocket, please fix
expose:
- 10007:10007 # GC port
Expand Down

0 comments on commit 18e2d1e

Please sign in to comment.