Fixed small errors

This commit is contained in:
Emran Billah 2024-09-06 17:07:40 -03:00
parent 0100770148
commit 25205312b4
1 changed files with 13 additions and 12 deletions

View File

@ -9,18 +9,19 @@ services:
- XBEE_INDEX=1 - XBEE_INDEX=1
- XBEE_BAUDRATE=230400 - XBEE_BAUDRATE=230400
- XBEE_PORT=/dev/ttyUSB0 - XBEE_PORT=/dev/ttyUSB0
- XBNET_BASE_SUBNET=172.18.0 - XBNET_BASE_SUBNET=2.2.2
- XBNET_INTERFACE_TYPE=router - XBNET_INTERFACE_TYPE=router
- XBNET_PROTO=tun - XBNET_PROTO=tap
command: bash /entrypoint.sh command: bash /entrypoint.sh
networks: network_mode: host
eth0: # networks:
ipv4_address: 172.18.0.100 # eth0:
# ipv4_address: 10.10.10.100
networks: # networks:
# Assigning a static IP to eth0 interface, so that it stays the same everytime the container is started # # Assigning a static IP to eth0 interface, so that it stays the same everytime the container is started
eth0: # eth0:
ipam: # ipam:
config: # config:
- subnet: 172.18.0.0/24 # - subnet: 10.10.10.0/24
gateway: 172.18.0.1 # gateway: 10.10.10.1