all: remove -p XXXX:XXXX from docker run options, since it is unnesessary if --net=host is set

This commit is contained in:
Aliaksandr Valialkin 2019-05-24 12:53:12 +03:00
parent f37903adb3
commit 364f4ec3bb
3 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,6 @@
# All these commands must run from repository root.
run-vminsert:
DOCKER_OPTS='-p 8480:8480' \
APP_NAME=vminsert \
ARGS='-storageNode=localhost:8400' \
$(MAKE) run-via-docker

View file

@ -2,7 +2,7 @@
run-vmselect:
mkdir -p vmselect-cache
DOCKER_OPTS='-v $(shell pwd)/vmselect-cache:/cache -p 8481:8481' \
DOCKER_OPTS='-v $(shell pwd)/vmselect-cache:/cache' \
APP_NAME=vmselect \
ARGS='-storageNode=localhost:8401 -selectNode=localhost:8481 -cacheDataPath=/cache' \
$(MAKE) run-via-docker

View file

@ -2,7 +2,7 @@
run-vmstorage:
mkdir -p vmstorage-data
DOCKER_OPTS='-v $(shell pwd)/vmstorage-data:/vmstorage-data -p 8482:8482 -p 8400:8400 -p 8401:8401' \
DOCKER_OPTS='-v $(shell pwd)/vmstorage-data:/vmstorage-data' \
APP_NAME=vmstorage \
ARGS='-retentionPeriod=12' \
$(MAKE) run-via-docker