fix(kafka-setup): Fix compose context for kafka-setup (#6923)

This commit is contained in:
Peter Szalai 2023-01-03 17:12:31 +01:00 committed by GitHub
parent 54ea8244de
commit a629df5de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -27,8 +27,8 @@ services:
kafka-setup:
image: linkedin/datahub-kafka-setup:debug
build:
context: kafka-setup
dockerfile: Dockerfile
context: ../
dockerfile: ./docker/kafka-setup/Dockerfile
args:
APP_ENV: dev
depends_on:

View File

@ -31,7 +31,8 @@ services:
# This "container" is a workaround to pre-create topics
kafka-setup:
build:
context: kafka-setup
dockerfile: ./docker/kafka-setup/Dockerfile
context: ../
image: ${DATAHUB_KAFKA_SETUP_IMAGE:-linkedin/datahub-kafka-setup}:${DATAHUB_VERSION:-head}
env_file: kafka-setup/env/docker.env
hostname: kafka-setup