build(Makefile): set PORT env var on start-backend
This commit is contained in:
parent
cbfcd17c77
commit
fbc8271e86
1
Makefile
1
Makefile
@ -258,6 +258,7 @@ endif
|
|||||||
export DEV_PORT_HTTP=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTP=' | sed 's/DEV_PORT_HTTP=//'`; \
|
export DEV_PORT_HTTP=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTP=' | sed 's/DEV_PORT_HTTP=//'`; \
|
||||||
export DEV_PORT_HTTPS=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTPS=' | sed 's/DEV_PORT_HTTPS=//'`; \
|
export DEV_PORT_HTTPS=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTPS=' | sed 's/DEV_PORT_HTTPS=//'`; \
|
||||||
export HOST=`hostname -s` ; \
|
export HOST=`hostname -s` ; \
|
||||||
|
export PORT=$${PORT:-$${DEV_PORT_HTTP}} ; \
|
||||||
export DETAILED_LOGGING=$${DETAILED_LOGGING:-true} ; \
|
export DETAILED_LOGGING=$${DETAILED_LOGGING:-true} ; \
|
||||||
export LOG_ALL=$${LOG_ALL:-false} ; \
|
export LOG_ALL=$${LOG_ALL:-false} ; \
|
||||||
export LOGLEVEL=$${LOGLEVEL:-info} ; \
|
export LOGLEVEL=$${LOGLEVEL:-info} ; \
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2023 Sarah Vaupel <sarah.vaupel@uniworx.de>
|
# SPDX-FileCopyrightText: 2023-2024 Sarah Vaupel <sarah.vaupel@uniworx.de>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user