Skip to content

Commit

Permalink
Merge pull request #649 from geoadmin/fix_docker_run_limit
Browse files Browse the repository at this point in the history
disable docker run memory limitation
  • Loading branch information
ltclm authored Dec 12, 2024
2 parents 5621ba3 + ab3d027 commit 39dc6c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export DOCKER_FREE_MEM := $(shell echo $$(( ${free_mem} * ${PERCENTAGE} / 100 ))
# DOCKER_EXEC will always check if a newer image exists on ecr -> develop.latest support
export DOCKER_EXEC := docker run \
--rm \
--memory=$(DOCKER_FREE_MEM) \
-t \
-v $(SPHINX_EFS):/var/lib/sphinxsearch/data/index/ \
--env-file $(ENV_FILE) \
Expand All @@ -93,7 +92,6 @@ export DOCKER_EXEC := docker run \

export DOCKER_EXEC_LOCAL := docker run \
--rm \
--memory=$(DOCKER_FREE_MEM) \
-t \
-v $(CURRENT_DIR)/conf/:/var/lib/sphinxsearch/data/index/ \
--env-file $(ENV_FILE) \
Expand Down

0 comments on commit 39dc6c2

Please sign in to comment.