Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update and add connector-node to docker-compose.yml #8427

Merged
merged 5 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 27 additions & 6 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
- compactor-node
- "--listen-addr"
- "0.0.0.0:6660"
- "--advertise-addr"
- "compactor-0:6660"
- "--prometheus-listener-addr"
- "0.0.0.0:1260"
- "--metrics-level"
Expand Down Expand Up @@ -44,16 +46,18 @@ services:
- compute-node
- "--listen-addr"
- "0.0.0.0:5688"
- "--prometheus-listener-addr"
- "0.0.0.0:1222"
- "--advertise-addr"
- "compute-node-0:5688"
- "--prometheus-listener-addr"
- "0.0.0.0:1222"
- "--metrics-level"
- "1"
- "--state-store"
- "hummock+minio://hummockadmin:hummockadmin@minio-0:9301/hummock001"
- "--meta-address"
- "http://meta-node-0:5690"
- "--connector-rpc-endpoint"
- "connector-node:50051"
- "--config-path"
- /risingwave.toml
expose:
Expand Down Expand Up @@ -128,8 +132,14 @@ services:
- "0.0.0.0:4566"
- "--meta-addr"
- "http://meta-node-0:5690"
- "--advertise-addr"
- "frontend-node-0:4566"
- "--config-path"
- /risingwave.toml
- "--prometheus-listener-addr"
- "0.0.0.0:2222"
- "--metrics-level"
- "1"
expose:
- "4566"
ports:
Expand Down Expand Up @@ -191,6 +201,8 @@ services:
- etcd
- "--etcd-endpoints"
- "etcd-0:2388"
- "--connector-rpc-endpoint"
- "connector-node:50051"
- "--config-path"
- /risingwave.toml
expose:
Expand Down Expand Up @@ -279,13 +291,20 @@ services:
interval: 1s
timeout: 5s
retries: 5
redpanda:
connector-node:
image: ghcr.io/risingwavelabs/risingwave:latest
entrypoint: "/risingwave/bin/connector-node/start-service.sh"
ports:
- 50051
- 50052
container_name: connector-node
message_queue:
image: "docker.vectorized.io/vectorized/redpanda:latest"
command:
- redpanda
- start
- "--smp"
- "4"
- "1"
- "--reserve-memory"
- 0M
- "--memory"
Expand All @@ -297,18 +316,20 @@ services:
- "--kafka-addr"
- "PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092"
- "--advertise-kafka-addr"
- "PLAINTEXT://redpanda:29092,OUTSIDE://localhost:9092"
- "PLAINTEXT://message_queue:29092,OUTSIDE://localhost:9092"
expose:
- "29092"
- "9092"
- "9644"
ports:
- "29092:29092"
- "9092:9092"
- "9644:9644"
depends_on: []
volumes:
- "redpanda:/var/lib/redpanda/data"
environment: {}
container_name: redpanda
container_name: message_queue
healthcheck:
test:
- CMD
Expand Down
14 changes: 11 additions & 3 deletions docker/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ scrape_configs:
- job_name: meta
static_configs:
- targets: ["meta-node-0:1250"]

- job_name: minio
metrics_path: /minio/v2/metrics/cluster
static_configs:
- targets: ["minio-0:9301"]
- targets: ["minio-0:9301"]

- job_name: compactor
static_configs:
Expand All @@ -29,6 +29,14 @@ scrape_configs:
static_configs:
- targets: ["etcd-0:2379"]

- job_name: frontend
static_configs:
- targets: ["frontend-node-0:2222"]

- job_name: redpanda
static_configs:
- targets: ["redpanda:9644"]
- targets: ["message_queue:9644"]

- job_name: connector-node
static_configs:
- targets: ["connector-node:50052"]