From b2fb9ab78e33f4d850f8bdaa1832bf04e5f74811 Mon Sep 17 00:00:00 2001 From: IAvecilla Date: Wed, 10 Jan 2024 18:34:21 -0300 Subject: [PATCH] Add compose file for testing purposes --- node/compose.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 node/compose.yaml diff --git a/node/compose.yaml b/node/compose.yaml new file mode 100644 index 00000000..f3d67050 --- /dev/null +++ b/node/compose.yaml @@ -0,0 +1,21 @@ +version: "3.9" + +services: + node-1: + build: . + networks: + node_net: + ipv4_address: 172.12.0.10 + node-2: + build: . + networks: + node_net: + ipv4_address: 172.12.0.11 + +networks: + node_net: + name: node_net + ipam: + config: + - subnet: "172.12.0.0/24" + gateway: "172.12.0.1"