create and use APP_NAME, APP_GROUP in docker compose files

This commit is contained in:
Adam 2022-10-04 22:27:43 +02:00
parent 3758906bb8
commit 0044f0cb98
10 changed files with 26 additions and 14 deletions

View file

@ -16,6 +16,7 @@ tasks.dockerComposeEnvUpdate {
put("KAFKA_DL_URL", libs.versions.kafka.map { ver ->
"https://dlcdn.apache.org/kafka/$ver/kafka_2.13-$ver.tgz"
})
put("APP_NAME", "kafka-kraft")
}
// Limit JVM Heap Size

View file

@ -3,7 +3,7 @@ version: "3.9"
services:
kafka:
image: ${REGISTRY_HOST}/dev.adamko.kafkatorio/kafka-kraft:${KAFKA_VERSION}
image: ${REGISTRY_HOST}/${APP_GROUP}/${APP_NAME}:${KAFKATORIO_VERSION}
container_name: "kafka"
restart: "unless-stopped"
build: