有人试过在蟑螂DB上运行节奏吗?

问题描述 投票:0回答:1

cadenace out of box docker image comes with cassandra dependency, and there are mysql and postgres based images available.have any one tried running cadence with cockroach db , essentially cockroachdb uses postgres engine for sql.I tried change postgres image to cockroach and not work.

我试着把postgres镜像改成cockroach,但没有成功。

   version: '3'
services:
  postgres:
    image: cockroachdb/cockroach
    environment:
      POSTGRES_USER: cadence
      POSTGRES_PASSWORD: cadence
    ports:
      - "5432:5432"
  statsd:
    image: graphiteapp/graphite-statsd
    ports:
      - "8080:80"
      - "2003:2003"
      - "8125:8125"
      - "8126:8126"
  cadence:
    image: ubercadence/server:0.11.0-auto-setup
    ports:
      - "7933:7933"
      - "7934:7934"
      - "7935:7935"
      - "7939:7939"
    environment:
      - "DB=postgres"
      - "DB_PORT=5432"
      - "POSTGRES_USER=cadence"
      - "POSTGRES_PWD=cadence"
      - "POSTGRES_SEEDS=postgres"
      - "STATSD_ENDPOINT=statsd:8125"
      - "DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development.yaml"
    depends_on:
      - postgres
  cadence-web:
    image: ubercadence/web:3.4.1
    environment:
      - "CADENCE_TCHANNEL_PEERS=cadence:7933"
    ports:
      - "8088:8088"
    depends_on:
      - cadence
distributed-system cockroachdb cadence-workflow temporal-workflow
1个回答
0
投票

有用户成功运行cockroachDB。这里是 docker-compose-cockroach(蟑螂) 来自 暂时性 回购。

© www.soinside.com 2019 - 2024. All rights reserved.