feat: Add Redpanda Console, Pulsar Distribution Service, and Grafana Dashboards
- Add Redpanda Console service (port 28080, Traefik integration) - Add Pulsar Distribution Service (Pulsar -> Brokers) - Create Grafana dashboards for Redpanda, Pulsar, and Smart City Ingestion - Configure Prometheus targets for Pulsar and Redpanda metrics - Fix FROST URL in distribution service - Create session resume for 2026-05-05
This commit is contained in:
45
pulsar/docker-compose.manager.yml
Normal file
45
pulsar/docker-compose.manager.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
# Pulsar Manager - Web UI for managing Pulsar
|
||||
# Access: https://pulsar.digitribe.fr
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
pulsar-manager:
|
||||
image: apachepulsar/pulsar-manager:v0.4.0
|
||||
container_name: smart-city-pulsar-manager
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
pulsar:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- PULSAR_CLUSTER_NAME=standalone
|
||||
- PULSAR_SERVICE_URL=pulsar://smart-city-pulsar:6650
|
||||
- PULSAR_WEB_SERVICE_URL=http://smart-city-pulsar:8080
|
||||
- SPRING_APPLICATION_JSON={"server":{"port":7750},"pulsar":{"cluster":"standalone","serviceUrl":"pulsar://smart-city-pulsar:6650","webServiceUrl":"http://smart-city-pulsar:8080"}}
|
||||
networks:
|
||||
- traefik-public
|
||||
- smartcity-shared
|
||||
ports:
|
||||
- "7750:7750"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -sf http://localhost:7750 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 60s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.pulsar-manager.rule=Host(`pulsar.digitribe.fr`)"
|
||||
- "traefik.http.routers.pulsar-manager.entrypoints=websecure"
|
||||
- "traefik.http.routers.pulsar-manager.tls=true"
|
||||
- "traefik.http.services.pulsar-manager.loadbalancer.server.port=7750"
|
||||
# Redirect /admin and /ws to Pulsar standalone
|
||||
- "traefik.http.routers.pulsar.rule=Host(`pulsar.digitribe.fr`) && PathPrefix(`/admin`, `/ws`, `/lookup`)"
|
||||
- "traefik.http.routers.pulsar.entrypoints=websecure"
|
||||
- "traefik.http.routers.pulsar.tls=true"
|
||||
- "traefik.http.services.pulsar.loadbalancer.server.port=8080"
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
smartcity-shared:
|
||||
external: true
|
||||
Reference in New Issue
Block a user