diff --git a/build/docker-compose.carla-server.yaml b/build/docker-compose.carla-server.yaml deleted file mode 100644 index 8ca8803c..00000000 --- a/build/docker-compose.carla-server.yaml +++ /dev/null @@ -1,13 +0,0 @@ -services: - carla-simulator: - image: ghcr.io/una-auxme/paf23:leaderboard-2.0 - command: /bin/bash ./CarlaUE4.sh quality-level=Low -resx=800 -resy=600 -nosound -world-port=2000 - environment: - - DISPLAY=${DISPLAY} - privileged: true - network_mode: host - deploy: - resources: - reservations: - devices: - - capabilities: ["gpu"] \ No newline at end of file diff --git a/build/docker-compose.swarm.yml b/build/docker-compose.swarm.yml deleted file mode 100644 index 47d9d694..00000000 --- a/build/docker-compose.swarm.yml +++ /dev/null @@ -1,26 +0,0 @@ -version: "3.8" - -services: - carla-simulator: - # command: /bin/bash CarlaUE4.sh -quality-level=High -world-port=2000 -resx=800 -resy=600 -nosound -carla-settings="/home/carla/CarlaUE4/Config/CustomCarlaSettings.ini" - command: /bin/bash CarlaUE4.sh -quality-level=High -world-port=2000 -resx=800 -resy=600 -nosound - image: ghcr.io/una-auxme/paf23:leaderboard-2.0 - init: true - deploy: - resources: - limits: - memory: 16G - expose: - - 2000 - - 2001 - - 2002 - environment: - - 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: diff --git a/build/docker-swarm-notes.md b/build/docker-swarm-notes.md deleted file mode 100644 index 237645db..00000000 --- a/build/docker-swarm-notes.md +++ /dev/null @@ -1,33 +0,0 @@ -# Docker Swarm Notes - -```bash -GPU-0f76ba56 - -sudo docker service create --replicas 1 \ - --cap-add all \ - --network host \ - --name carla-server \ - --generic-resource "NVIDIA-GPU=0" \ - -e DISPLAY=$DISPLAY \ - carlasim/carla:latest \ - /bin/bash ./CarlaUE4.sh - - -sudo docker run --privileged --gpus all --net=host -e DISPLAY=$DISPLAY carlasim/carla:latest /bin/bash ./CarlaUE4.sh - - docker service create --replicas 1 \ - --name tensor-qs \ - --generic-resource "gpu=1" \ - tomlankhorst/tensorflow-quickstart - - - -e XDG_RUNTIME_DIR=/tmp/runtime-carla \ - - -sudo docker service create \ - --name carla-server \ - --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock,ro \ - docker \ - docker run --privileged --gpus all --net=host -e DISPLAY=$DISPLAY ghcr.io/una-auxme/paf23:leaderboard-2.0 /bin/bash ./CarlaUE4.sh - -```