Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
63 changes: 30 additions & 33 deletions docker/compose.yaml
Original file line number Diff line number Diff line change
@@ -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