Testing gateway

This commit is contained in:
Emran Billah 2024-08-28 12:07:33 -03:00
parent edc4f7c30a
commit 449a4fb4a2
1 changed files with 10 additions and 10 deletions

View File

@ -68,14 +68,14 @@ services:
container_name: xbnet_node
privileged: true
env_file: .env
networks:
xbee_net:
ipv4_address: ${XBEE_NET_SRC_IP} # Ensure this IP belongs to the xbee_net subnet
# networks:
# xbee_net:
# ipv4_address: ${XBEE_NET_SRC_IP} # Ensure this IP belongs to the xbee_net subnet
networks:
xbee_net:
driver: bridge
ipam:
config:
- subnet: ${BASE_SUBNET}.0/24 # Match the network's subnet
gateway: ${DEFAULT_GATEWAY} # Gateway for central router
# networks:
# xbee_net:
# driver: bridge
# ipam:
# config:
# - subnet: ${BASE_SUBNET}.0/24 # Match the network's subnet
# gateway: ${DEFAULT_GATEWAY} # Gateway for central router