Integrate robust, two-way realtime communication into your existing backend architecture. This open-source server handles the heavy lifting of persistent connections, allowing your application to scale efficiently without compromising performance. By offloading connection management, you can focus on building core features while maintaining high reliability for your users.
Key benefits include:
Whether you are building live chat applications, collaborative tools, or real-time dashboards, this server provides the necessary infrastructure to deliver instant updates and maintain reliable two-way data flow.
services:
anycable:
image: anycable/anycable-go:latest
restart: unless-stopped
ports:
- "8080:8080"
environment:
ANYCABLE_HOST: "0.0.0.0"
ANYCABLE_PORT: "8080"
ANYCABLE_RPC_HOST: ${ANYCABLE_RPC_HOST}
ANYCABLE_REDIS_URL: ${ANYCABLE_REDIS_URL}
ANYCABLE_DEBUG: "true"
depends_on:
- redis
networks:
- anycable_net
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- ./redis-data:/data
networks:
- anycable_net
networks:
anycable_net:# The gRPC server address of your backend application (e.g., rails-app:50051)
# Use host.docker.internal:50051 if running the app on the host machine
ANYCABLE_RPC_HOST=host.docker.internal:50051
# Redis connection URL
ANYCABLE_REDIS_URL=redis://redis:6379/0Auto-fetched 17 minutes ago
Auto-fetched 17 minutes ago