fix: Redpanda start.sh + FROST direct simulator + Prometheus config
- Redpanda : correction start.sh (v24.3.14) - FROST : ENABLE_FROST=true dans simulator (test direct) - Pulsar : distribution.py mis à jour (mais ConnectError) - Prometheus : config ajoutée (prometheus.yml) - Grafana : datasources prêtes
This commit is contained in:
@@ -1,24 +1,39 @@
|
||||
# Redpanda (Kafka-compatible) — Single Node for Smart City Digital Twin Martinique
|
||||
# Usage: docker compose -p smart-city -f redpanda/docker-compose.yml up -d
|
||||
# Ports: 19092=Kafka (host), 9644=Admin API
|
||||
# Ports: 19092=Kafka (host), 9644=Admin API, 18083=Schema Registry
|
||||
services:
|
||||
redpanda:
|
||||
image: redpandadata/redpanda:v24.3.14
|
||||
container_name: smart-city-redpanda
|
||||
entrypoint: ["/bin/bash", "/start.sh"]
|
||||
volumes:
|
||||
- redpanda-data:/var/lib/redpanda/data
|
||||
- ./start.sh:/start.sh:ro
|
||||
command:
|
||||
- redpanda
|
||||
- start
|
||||
- --overprovisioned
|
||||
- --smp
|
||||
- "1"
|
||||
- --memory
|
||||
- 1G
|
||||
- --reserve-memory
|
||||
- 0M
|
||||
- --node-id
|
||||
- "0"
|
||||
- --check=false
|
||||
- --kafka-addr
|
||||
- internal://0.0.0.0:9092
|
||||
- --advertise-kafka-addr
|
||||
- internal://smart-city-redpanda:9092
|
||||
- --rpc-addr
|
||||
- internal://0.0.0.0:33145
|
||||
- --advertise-rpc-addr
|
||||
- smart-city-redpanda:33145
|
||||
ports:
|
||||
- "19092:9092"
|
||||
- "19644:9644"
|
||||
volumes:
|
||||
- redpanda-data:/var/lib/redpanda/data
|
||||
networks:
|
||||
- traefik-public
|
||||
- smartcity-shared
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 2G
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -sf http://localhost:9644/v1/status/ready 2>/dev/null || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user