fix(security): remove exposed ports to wan
This commit is contained in:
4
Makefile
4
Makefile
@@ -6,9 +6,6 @@ REGISTRY_URL=registry.nortapp.com
|
||||
NAMESPACE=andromeda
|
||||
TAG?=latest
|
||||
|
||||
HOST_PORT=8180
|
||||
CONTAINER_PORT=80
|
||||
|
||||
IMAGE_FULL=$(REGISTRY_URL)/$(NAMESPACE)/$(IMAGE_NAME):$(TAG)
|
||||
|
||||
build:
|
||||
@@ -26,7 +23,6 @@ run:
|
||||
--label com.docker.compose.service="$(APP_NAME)" \
|
||||
--label com.docker.compose.project="$(STACK)" \
|
||||
--network andromeda \
|
||||
-p $(HOST_PORT):$(CONTAINER_PORT) \
|
||||
--env-file .env \
|
||||
$(IMAGE_FULL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user