diff --git a/.gitignore b/.gitignore index f9baab2..238cac4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /SWA-*/ /.*-env /*-db +/.hostname diff --git a/Makefile b/Makefile index fc8c7b3..f4564ee 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,8 @@ FRONTEND=swa-jodel/frontend:latest BACKEND=swa-jodel/backend:latest DATABASE=swa-jodel/database:latest +include $(ROOT_DIR).hostname + help: @echo "[HELP]" @echo "usage: make " @@ -46,7 +48,7 @@ frontend: gitsync .PHONY = backend backend: gitsync - docker buildx build --tag $(DOCKER_REGISTRY)$(BACKEND) --load $(ROOT_DIR)SWA-backend + docker buildx build --build-arg="KC_HOSTNAME=$(KC_HOSTNAME)" --tag $(DOCKER_REGISTRY)$(BACKEND) --load $(ROOT_DIR)SWA-backend .PHONY = database database: gitsync