version: '3.8' services: postgresql: image: postgres:14 hostname: postgresql volumes: - pg_data:/var/lib/postgresql/data environment: PGDATA: "/var/lib/postgresql/data" POSTGRES_DB: "conduktor-platform" POSTGRES_USER: "conduktor" POSTGRES_PASSWORD: "change_me" POSTGRES_HOST_AUTH_METHOD: "scram-sha-256" conduktor-platform: image: conduktor/conduktor-platform:1.19.0 depends_on: - postgresql - redpanda-0 ports: - "8080:8080" volumes: - conduktor_data:/var/conduktor environment: CDK_DATABASE_URL: "postgresql://conduktor:change_me@postgresql:5432/conduktor-platform" CDK_CLUSTERS_0_ID: "local" CDK_CLUSTERS_0_NAME: "local" CDK_CLUSTERS_0_BOOTSTRAPSERVERS: "redpanda-0:9092" CDK_CLUSTERS_0_SCHEMAREGISTRY_URL: "http://redpanda-0:18081" CDK_MONITORING_CORTEX-URL: http://conduktor-monitoring:9009/ CDK_MONITORING_ALERT-MANAGER-URL: http://conduktor-monitoring:9010/ CDK_MONITORING_CALLBACK-URL: http://conduktor-platform:8080/monitoring/api/ CDK_MONITORING_NOTIFICATIONS-CALLBACK-URL: http://localhost:8080 conduktor-monitoring: image: conduktor/conduktor-platform-cortex:1.19.0 environment: CDK_CONSOLE-URL: "http://conduktor-platform:8080" redpanda-0: command: - redpanda - start - --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092 - --advertise-kafka-addr internal://redpanda-0:9092,external://localhost:19092 - --pandaproxy-addr internal://0.0.0.0:8082,external://0.0.0.0:18082 # Address the broker advertises to clients that connect to the HTTP Proxy. - --advertise-pandaproxy-addr internal://redpanda-0:8082,external://localhost:18082 - --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081 # Redpanda brokers use the RPC API to communicate with eachother internally. - --rpc-addr redpanda-0:33145 - --advertise-rpc-addr redpanda-0:33145 - --smp 1 - --memory 1G - --mode dev-container - --default-log-level=info image: docker.redpanda.com/redpandadata/redpanda:v23.1.11 container_name: redpanda-0 volumes: - redpanda-0:/var/lib/redpanda/data ports: - 18081:18081 - 18082:18082 - 19092:19092 - 19644:9644 generator: image: "haianh1233/generator:latest" container_name: generator environment: KAFKA_BOOTSTRAP_SERVERS: "redpanda-0:9092" KAFKA_SCHEMA_REGISTRY_URL: "http://redpanda-0:8081" depends_on: - redpanda-0 volumes: pg_data: {} conduktor_data: {} redpanda-0: {}