services: mongodb: image: 'mongo:7-jammy' command: mongod --port 27018 healthcheck: test: echo "try { db.currentOp().ok } catch (err) { }" | mongosh --port 27018 --quiet interval: 5s timeout: 30s start_period: 0s start_interval: 1s retries: 30 environment: - PUID=1000 - PGID=1000 ports: - 27018:27018 restart: unless-stopped cockroach: image: cockroachdb/cockroach:v24.1.2 ports: - '26258:26257' - '18089:8080' command: start-single-node --insecure restart: unless-stopped redpanda: image: docker.redpanda.com/redpandadata/redpanda:v24.3.6 command: - redpanda - start - --kafka-addr internal://0.0.0.0:9093,external://0.0.0.0:19093 - --advertise-kafka-addr internal://redpanda:9093,external://localhost:19093 - --pandaproxy-addr internal://0.0.0.0:8084,external://0.0.0.0:18084 - --advertise-pandaproxy-addr internal://redpanda:8084,external://localhost:18084 - --schema-registry-addr internal://0.0.0.0:8083,external://0.0.0.0:18083 - --rpc-addr redpanda:33145 - --advertise-rpc-addr redpanda:33145 - --mode dev-container - --smp 1 - --default-log-level=info ports: - 18083:18083 - 18084:18084 - 19093:19093 - 19645:9644 healthcheck: test: ['CMD', 'rpk', 'cluster', 'info', '-X', 'user=superuser', '-X', 'pass=secretpassword'] interval: 10s timeout: 5s retries: 10 redpanda_console: image: docker.redpanda.com/redpandadata/console:v2.8.3 entrypoint: /bin/sh command: -c 'echo "$$CONSOLE_CONFIG_FILE" > /tmp/config.yml; /app/console' environment: CONFIG_FILEPATH: /tmp/config.yml CONSOLE_CONFIG_FILE: | kafka: brokers: ["redpanda:9093"] schemaRegistry: enabled: true urls: ["http://redpanda:8083"] redpanda: adminApi: enabled: true urls: ["http://redpanda:9644"] ports: - 8001:8080 depends_on: - redpanda minio: image: 'minio/minio' command: server /data --address ":9000" --console-address ":9001" expose: - 9000 - 9001 ports: - 9002:9000 - 9003:9001 healthcheck: test: ['CMD', 'mc', 'ready', 'local'] interval: 5s retries: 10 elastic: image: 'elasticsearch:7.14.2' expose: - 9200 ports: - 9201:9200 environment: - ELASTICSEARCH_PORT_NUMBER=9200 - BITNAMI_DEBUG=true - discovery.type=single-node - ES_JAVA_OPTS=-Xms1024m -Xmx1024m healthcheck: interval: 5s retries: 10 test: curl -s http://localhost:9200/_cluster/health | grep -vq '"status":"red"'