diff --git a/docker/Dockerfile b/docker/Dockerfile index bdf8986..861bb16 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,7 +33,7 @@ RUN apt-get update && \ pip3 install -U \ colcon-common-extensions \ vcstool && \ - curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.bash && \ + curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.bash && \ chmod +x nodesource_setup.bash && \ bash -c ./nodesource_setup.bash && \ apt-get install -y nodejs diff --git a/docker/compose.yaml b/docker/compose.yaml index 1297b9b..86f64af 100644 --- a/docker/compose.yaml +++ b/docker/compose.yaml @@ -1,42 +1,39 @@ services: - database: - image: mongo:4.4 - hostname: mongo-db - networks: - visualros: - ipv4_address: 192.168.42.13 - expose: - - "27017" - command: --bind_ip_all - broker: - image: fiware/orion - hostname: orion - networks: - visualros: - ipv4_address: 192.168.42.14 - ports: - - "1026:1026" - command: -dbhost mongo-db - depends_on: - - database + # database: + # image: mongo:4.4 + # hostname: mongo-db + # networks: + # visualros: + # ipv4_address: 192.168.42.13 + # expose: + # - "27017" + # command: --bind_ip_all + # broker: + # image: fiware/orion + # hostname: orion + # networks: + # visualros: + # ipv4_address: 192.168.42.14 + # ports: + # - "1026:1026" + # command: -dbhost mongo-db + # depends_on: + # - database visual-ros: build: context: . args: ROS_DISTRO: humble - networks: - visualros: - ipv4_address: 192.168.42.15 ports: - "1880:1880" - "9229:9229" - command: /node_entrypoint.sh node --inspect=192.168.42.15:9229 /usr/bin/node-red - depends_on: - - broker -networks: - visualros: - driver: bridge - ipam: - config: - - subnet: 192.168.42.0/24 - gateway: 192.168.42.1 + command: /entrypoint.bash node --inspect=192.168.42.15:9229 /usr/bin/node-red + #command: tail -F /dev/null + +# networks: +# visualros: +# driver: bridge +# ipam: +# config: +# - subnet: 192.168.42.0/24 +# gateway: 192.168.42.1