Skip to content

Commit

Permalink
Merge pull request #17 from Kasean/7-kafka-container
Browse files Browse the repository at this point in the history
kafka container added
  • Loading branch information
Kasean authored Dec 21, 2023
2 parents 369bb7b + ccb2a65 commit d1776c3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions containers-errors/Errors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 1195725856 larger than 104857600)
19 changes: 16 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ version: '3.7'

services:
keycloak:
# build:
# context: .
# dockerfile: Dockerfile
image: jboss/keycloak
environment:
- KEYCLOAK_USER=admin
Expand All @@ -28,5 +25,21 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data

zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181

kafka:
image: confluentinc/cp-kafka:latest
depends_on:
- zookeeper
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
ports:
- "9092:9092"

volumes:
postgres_data:

0 comments on commit d1776c3

Please sign in to comment.