Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Add a Docker Compose File  #106

@JeffNeff

Description

@JeffNeff

I think the addition of a docker-compose and example broker-config.json would bring a lot here.

Something along the lines of :

services:
  broker:
    image: redisbroker
    build:
      context: .
      dockerfile: cmd/redis-broker/Dockerfile
    command: start
    ports:
      - 8080
    environment:
      BROKER_CONFIG_PATH: /broker-config.yaml 
      REDIS_ADDRESS: redis:6379 
    volumes:
      - ./broker-config-example.yaml:/broker-config.yaml 

  redis:
    container_name: redis
    hostname: redis
    image: redis/redis-stack-server:latest
    environment:
      REDIS_ARGS: --appendonly yes --appendfsync always --rdbcompression yes
    ports:
      - 6379:6379

  redis-commander:
    container_name: redis-commander
    hostname: redis-commander
    image: rediscommander/redis-commander:latest
    build: .
    restart: always
    environment:
      - REDIS_HOSTS=local:redis:6379
    ports:
      - 8089:8081

  sockeye:
    image: docker.io/n3wscott/sockeye:v0.7.0@sha256:e603d8494eeacce966e57f8f508e4c4f6bebc71d095e3f5a0a1abaf42c5f0e48
    ports:
      - 8080:8080
triggers:
  trigger1:
    target:
      url: http://sockeye:8080
      deliveryOptions:
        retry: 2
        backoffDelay: PT2S
        backoffPolicy: linear

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions