mirror of
https://github.com/thilo-behnke/wasm-pong.git
synced 2026-07-11 02:29:25 +00:00
23 lines
587 B
YAML
23 lines
587 B
YAML
version: "3"
|
|
services:
|
|
zookeeper:
|
|
container_name: pong_server_zookeeper
|
|
image: 'bitnami/zookeeper:latest'
|
|
ports:
|
|
- '2181:2181'
|
|
environment:
|
|
- ALLOW_ANONYMOUS_LOGIN=yes
|
|
kafka:
|
|
container_name: pong_server_kafka
|
|
image: 'bitnami/kafka:latest'
|
|
ports:
|
|
- '9092:9092'
|
|
environment:
|
|
- KAFKA_BROKER_ID=1
|
|
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092
|
|
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
|
|
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
|
|
- ALLOW_PLAINTEXT_LISTENER=yes
|
|
depends_on:
|
|
- zookeeper
|