start getting docker images working...

This commit is contained in:
Adam 2022-06-21 00:00:26 +02:00
parent e0f689c538
commit b56c0df824
9 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,29 @@
version: "3.9"
services:
events-server:
image: kafkatorio/events-server:${KAFKATORIO_VERSION}
container_name: events-server
build:
context: ..
dockerfile: ./docker/Dockerfile
args:
KAFKATORIO_VERSION: ${KAFKATORIO_VERSION}
DIST_DIR: "./build/distributions/"
environment:
KAFKA_BOOTSTRAP_SERVERS: "http://kafka:29092"
KAFKA_STREAMS_STATE_DIR: "http://kafka:29092"
SERVER_PORT: "12081"
# ports:
# - "12081:12081" # http and ws
networks:
- "kafka-nw"
networks:
kafka-nw:
name: "kafka-nw"
external: true
kafkatorio-nw:
name: "kafkatorio-nw"
external: true