added hostname to env
This commit is contained in:
4
Makefile
4
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 <command>"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user