Sha256: 7b5c56c2edcbd2b8c1051cfb5d1e266d5db5200ba1437f727f8f7dffcf4ca4c8

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

version: "3.7"

x-example: &example
  working_dir: /opt/jstreams/examples/basic
  build:
    context: ../..
  environment:
    REDIS_URL: redis://redis
  volumes:
    - ../..:/opt/jstreams
  depends_on:
    - redis

services:
  redis:
    image: redis:5

  publisher:
    <<: *example
    command: ["ruby", "example_publisher.rb"]

  subscriber1:
    <<: *example
    command: ["ruby", "example_subscriber.rb", "subscriber1"]

  subscriber2:
    <<: *example
    command: ["ruby", "example_subscriber.rb", "subscriber2"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jstreams-0.1.0.alpha examples/basic/docker-compose.yml