Stand up a runnable distribution stack on top of the core node logic. - distribution: add NodeDriver bridging DistributedNode to real TCP I/O (TcpTransport/TcpAcceptor), translating NodeActions to/from wire messages; refine swim probe timing and transport wiring. - node: new swactor-node binary (crates/node) hosting a real node over TCP. - tests/docker: multi-host LAN cluster harness (compose, run-lan-cluster.sh, cluster + lan_cluster integration tests) exercising the full SWIM path. - simulation: cluster_scenarios integration + distribution property coverage. - docs: reorganize into distribution/, runtime/, diagrams/, connectome/; add DOCKER_REALIZATION + SIMULATION_TESTING realization notes. Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
70 lines
1.6 KiB
YAML
70 lines
1.6 KiB
YAML
services:
|
|
seed:
|
|
build:
|
|
context: ../..
|
|
dockerfile: Dockerfile
|
|
command: ["--listen", "10.0.1.10:7000", "--dashboard-port", "9090", "--actors", "2"]
|
|
networks:
|
|
cluster:
|
|
ipv4_address: 10.0.1.10
|
|
ports:
|
|
- "9091:9090"
|
|
|
|
node-2:
|
|
build:
|
|
context: ../..
|
|
dockerfile: Dockerfile
|
|
command: ["--listen", "10.0.1.11:7000", "--seed", "10.0.1.10:7000", "--dashboard-port", "9090", "--actors", "2"]
|
|
networks:
|
|
cluster:
|
|
ipv4_address: 10.0.1.11
|
|
ports:
|
|
- "9092:9090"
|
|
depends_on:
|
|
- seed
|
|
|
|
node-3:
|
|
build:
|
|
context: ../..
|
|
dockerfile: Dockerfile
|
|
command: ["--listen", "10.0.1.12:7000", "--seed", "10.0.1.10:7000", "--dashboard-port", "9090", "--actors", "2"]
|
|
networks:
|
|
cluster:
|
|
ipv4_address: 10.0.1.12
|
|
ports:
|
|
- "9093:9090"
|
|
depends_on:
|
|
- seed
|
|
|
|
node-4:
|
|
build:
|
|
context: ../..
|
|
dockerfile: Dockerfile
|
|
command: ["--listen", "10.0.1.13:7000", "--seed", "10.0.1.10:7000", "--dashboard-port", "9090", "--actors", "2"]
|
|
networks:
|
|
cluster:
|
|
ipv4_address: 10.0.1.13
|
|
ports:
|
|
- "9094:9090"
|
|
depends_on:
|
|
- seed
|
|
|
|
node-5:
|
|
build:
|
|
context: ../..
|
|
dockerfile: Dockerfile
|
|
command: ["--listen", "10.0.1.14:7000", "--seed", "10.0.1.10:7000", "--dashboard-port", "9090", "--actors", "2"]
|
|
networks:
|
|
cluster:
|
|
ipv4_address: 10.0.1.14
|
|
ports:
|
|
- "9095:9090"
|
|
depends_on:
|
|
- seed
|
|
|
|
networks:
|
|
cluster:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 10.0.1.0/24
|