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

@ -3,12 +3,14 @@ version: "3.9"
services:
kafkatorio-web-map:
image: ${REGISTRY_HOST}/dev.adamko.kafkatorio/web-map:${KAFKATORIO_VERSION}
container_name: kafkatorio-web-map
image: ${REGISTRY_HOST}/${APP_GROUP}/${APP_NAME}:${KAFKATORIO_VERSION}
container_name: ${APP_NAME}
restart: unless-stopped
build:
context: ".."
dockerfile: ./docker/Dockerfile
args:
APP_NAME: ${APP_NAME}
ports:
- "12081:80"
networks: