create and use APP_NAME, APP_GROUP in docker compose files
This commit is contained in:
parent
3758906bb8
commit
0044f0cb98
10 changed files with 26 additions and 14 deletions
|
|
@ -2,11 +2,13 @@ version: "3.9"
|
|||
|
||||
services:
|
||||
kafka-pipe:
|
||||
image: ${REGISTRY_HOST}/dev.adamko.kafkatorio/kafka-pipe/${KAFKATORIO_VERSION}
|
||||
container_name: "kafka-pipe"
|
||||
image: ${REGISTRY_HOST}/${APP_GROUP}/${APP_NAME}:${KAFKATORIO_VERSION}
|
||||
container_name: ${APP_NAME}
|
||||
build:
|
||||
dockerfile: "kafka-pipe.Dockerfile"
|
||||
context: "."
|
||||
args:
|
||||
APP_NAME: ${APP_NAME}
|
||||
restart: "unless-stopped"
|
||||
privileged: true
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue