-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #276 from una-auxme/267-instead-of-using-four-dist…
…inct-docker-compose-files-use-extends feat: Restructure docker-compose files & Removed b5 run tasks
- Loading branch information
Showing
23 changed files
with
202 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
services: | ||
agent: | ||
build: | ||
dockerfile: build/docker/agent/Dockerfile | ||
args: | ||
- USER_UID=${DOCKER_HOST_UNIX_UID:-1000} | ||
- USER_GID=${DOCKER_HOST_UNIX_GID:-1000} | ||
context: ../ | ||
init: true | ||
tty: true | ||
shm_size: 2gb | ||
deploy: | ||
resources: | ||
reservations: | ||
devices: | ||
- driver: nvidia | ||
capabilities: [ gpu ] | ||
# executes default command specified in agent Dockerfile | ||
# build/docker/agent/Dockerfile | ||
logging: | ||
driver: "local" | ||
environment: | ||
- DISPLAY | ||
- NVIDIA_VISIBLE_DEVICES=all | ||
- NVIDIA_DRIVER_CAPABILITIES=all | ||
- ROS_MASTER_URI=http://roscore:11311 | ||
- CARLA_SIM_HOST=carla-simulator | ||
- ROS_HOSTNAME=agent | ||
- XDG_RUNTIME_DIR=/tmp/runtime-carla | ||
# - ROUTE=/opt/leaderboard/data/routes_devtest.xml | ||
# Simple route without special scenarios | ||
- ROUTE=/workspace/code/routes/routes_simple.xml | ||
volumes: | ||
- /tmp/.X11-unix:/tmp/.X11-unix | ||
# if you change the volume here also change the copy command | ||
# in ``build/docker/build/Dockerfile | ||
- ../:/workspace | ||
# mount git config for dvc | ||
- ../.gitconfig:/home/carla/.gitconfig | ||
- ../:/workspace/ | ||
networks: | ||
- carla | ||
- ros | ||
|
||
networks: | ||
carla: | ||
ros: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
services: | ||
# based on https://github.com/ll7/paf21-1/blob/master/scenarios/docker-carla-sim-compose.yml | ||
carla-simulator: | ||
command: /bin/bash CarlaUE4.sh -quality-level=Epic -world-port=2000 -resx=800 -resy=600 -nosound -carla-settings="/home/carla/CarlaUE4/Config/CustomCarlaSettings.ini" | ||
image: ghcr.io/una-auxme/paf23:leaderboard-2.0 | ||
init: true | ||
deploy: | ||
resources: | ||
limits: | ||
memory: 16G | ||
reservations: | ||
devices: | ||
- driver: nvidia | ||
capabilities: [ gpu ] | ||
expose: | ||
- 2000 | ||
- 2001 | ||
- 2002 | ||
environment: | ||
- DISPLAY | ||
- NVIDIA_VISIBLE_DEVICES=all | ||
- NVIDIA_DRIVER_CAPABILITIES=all | ||
- XDG_RUNTIME_DIR=/tmp/runtime-carla | ||
networks: | ||
- carla | ||
volumes: | ||
- /tmp/.X11-unix:/tmp/.X11-unix | ||
- ./CustomCarlaSettings.ini:/home/carla/CarlaUE4/Config/CustomCarlaSettings.ini | ||
|
||
networks: | ||
carla: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# b5 config file | ||
modules: | ||
template: | ||
docker: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.