version: '3.8' services: crm-websocket: build: . container_name: crm-websocket-server restart: unless-stopped ports: - "3001:3000" environment: - REDIS_HOST=host.docker.internal - REDIS_PORT=6379 - REDIS_PASSWORD=CRM_Redis_Pass_2025_Secure! - WS_PORT=3000 extra_hosts: - "host.docker.internal:host-gateway" networks: - crm-network logging: driver: "json-file" options: max-size: "10m" max-file: "3" networks: crm-network: driver: bridge