X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=docker-compose.yml;h=23c39f1ca469710f64846fa737c8b6f07e0574a3;hb=81b264a27d2e7daface2ff58b710703c4ee21bca;hp=0125f95e7de951acabbfdf6cd1d81ce8520b1dab;hpb=5df5895e4ec46756d335ea35c92c11146072c4d1;p=demos%2Fkafka%2Foutbox diff --git a/docker-compose.yml b/docker-compose.yml index 0125f95..23c39f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,14 +3,14 @@ version: "3" services: zookeeper: - image: "confluentinc/cp-zookeeper:latest" + image: confluentinc/cp-zookeeper:6.0.1 ports: - 2181:2181 environment: ZOOKEEPER_CLIENT_PORT: 2181 kafka: - image: confluentinc/cp-kafka:latest + image: confluentinc/cp-kafka:6.0.1 ports: - 9092:9092 environment: @@ -22,17 +22,24 @@ services: depends_on: - zookeeper + kafkacat: + image: confluentinc/cp-kafkacat:6.0.1 + command: "kafkacat -C -b kafka:9093 -t outbox -K:" + tty: true + depends_on: + - kafka + jdbc: - image: jdbc:latest + image: juplo/jdbc:outbox ports: - 8080:8080 environment: - spring.profiles.active: production + spring.profiles.active: prod depends_on: - postgres outbox: - image: polling-outbox:latest + image: juplo/outbox:polling environment: spring.profiles.active: prod depends_on: