ICS sample producer and consumer
[nonrtric.git] / sample-services / ics-producer-consumer / docker-composeRedPanda.yaml
1 #  ========================LICENSE_START=================================
2 #  O-RAN-SC
3 #
4 #  Copyright (C) 2024: OpenInfra Foundation Europe
5 #  ========================================================================
6 #  Licensed under the Apache License, Version 2.0 (the "License");
7 #  you may not use this file except in compliance with the License.
8 #  You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #  Unless required by applicable law or agreed to in writing, software
13 #  distributed under the License is distributed on an "AS IS" BASIS,
14 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #  See the License for the specific language governing permissions and
16 #  limitations under the License.
17 #  ============LICENSE_END=================================================
18
19 version: '2'
20 networks:
21   kafka:
22     external: true
23
24 services:
25   redpanda-console:
26     container_name: redpanda-console
27     image: docker.redpanda.com/redpandadata/console:v2.4.5
28     entrypoint: /bin/sh
29     command: -c 'echo "$$CONSOLE_CONFIG_FILE" > /tmp/config.yml; /app/console'
30     environment:
31       CONFIG_FILEPATH: /tmp/config.yml
32       CONSOLE_CONFIG_FILE: |
33         kafka:
34           brokers: ["kafka-zkless:9092"]
35     ports:
36       - 8888:8080
37     networks:
38       - kafka