AnyCable logo lightAnyCable logo darkAnyCable

  • Overview
    • Getting Started
    • Architecture
    • WebSocket Servers
    • Benchmarks
    • Pro version pro
    • Troubleshooting 🔥
    • Commercial Support 🆘
    • Release Notes
  • Ruby
    • Getting Started with Rails
    • CLI
    • Configuration
    • Authentication
    • Channels State
    • gRPC Middlewares
    • Health Checking
    • Logging
    • Exceptions Handling
    • Instrumentation via Yabeda 🔗
    • Action Cable Compatibility
    • Using with Hotwire
    • Using with Stimulus Reflex
    • Non-Rails Usage
    • Broadcast Adapters
  • AnyCable-Go
    • Getting Started
    • Configuration
    • Instrumentation
    • Health Checking
    • Tracing
    • OS Tuning
    • JWT Identification
    • Speedy Hotwire & Cable Ready
    • Apollo GraphQL pro
    • Binary formats pro
    • Embedded NATS
    • Using as a Library
  • JS/TS client 🔗
  • Deployment
    • Heroku
    • Fly.io
    • Render
    • Docker
      • Ruby RPC server
      • AnyCable-Go
    • Kubernetes
    • Capistrano
    • Systemd
    • AWS Beanstalk 🔗
    • AWS ECS 🔗
    • Load Balancing
    • Load Testing
  • Misc
    • Action Cable Protocol
    • Protobuf Definitions
    • How to Write AnyCable-Compatible Server
  • Upgrade Notes
    • From v1.2.x to v1.3.0
    • From v1.0.x to v1.1.0
    • From v0.6.x to v1.0.0
  • Community
    • Twitter
    • Discord

Docker Deployment

Ruby RPC server

Deployment using Docker could be tricky since we rely on several gems with native extensions (grpc,google-protobuf).

Here is the list of useful resources:

  • Segmentation faults with alpine (anycable-rails#70 and anycable#47)
  • Example Dockerfile (alpine)

AnyCable-Go

Official docker images are available at DockerHub.

PREVIOUS
Render
NEXT
Kubernetes