From 25205312b4a0268744a6fca9b07393456a361f25 Mon Sep 17 00:00:00 2001 From: Emran Billah Date: Fri, 6 Sep 2024 17:07:40 -0300 Subject: [PATCH] Fixed small errors --- docker-compose.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ea5ad1b..5f95a28 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,18 +9,19 @@ services: - XBEE_INDEX=1 - XBEE_BAUDRATE=230400 - XBEE_PORT=/dev/ttyUSB0 - - XBNET_BASE_SUBNET=172.18.0 + - XBNET_BASE_SUBNET=2.2.2 - XBNET_INTERFACE_TYPE=router - - XBNET_PROTO=tun + - XBNET_PROTO=tap command: bash /entrypoint.sh - networks: - eth0: - ipv4_address: 172.18.0.100 + network_mode: host +# networks: +# eth0: +# ipv4_address: 10.10.10.100 -networks: - # Assigning a static IP to eth0 interface, so that it stays the same everytime the container is started - eth0: - ipam: - config: - - subnet: 172.18.0.0/24 - gateway: 172.18.0.1 \ No newline at end of file +# networks: +# # Assigning a static IP to eth0 interface, so that it stays the same everytime the container is started +# eth0: +# ipam: +# config: +# - subnet: 10.10.10.0/24 +# gateway: 10.10.10.1 \ No newline at end of file