websocket_toolkit 0.2.0

A WebSocket toolkit for Rust, enabling efficient real-time communication with flexible reconnection and message handling capabilities.
Documentation
#version: '3.8'

services:
  rust-service:
    build:
      context: .
      dockerfile: Dockerfile.rust
    depends_on:
      - node_server  
    command: ["sh", "-c", "cargo test -- --nocapture && cargo run --example simple_websocket && cargo fuzz run websocket_fuzz &&  tail -f /dev/null"]
    environment:
      NODE_SERVER_URL: "ws://node_server:9001"  
    networks:
      - app-network

  node_server:
    build:
      context: .
      dockerfile: Dockerfile.node
    ports:
      - "9001:9001"  # Expose port to the host
    environment:
      NODE_SERVER_HOST: "0.0.0.0"
      NODE_SERVER_PORT: "9001"
    networks:
      - app-network

networks:
  app-network:
    driver: bridge