Skip to content

Commit

Permalink
disable docker run memory limitation
Browse files Browse the repository at this point in the history
as decided with @ltrea we will only enable global cgroup limitations in a first
step. if this is working fine a docker run limit is not necessary.
  • Loading branch information
ltclm committed Dec 12, 2024
1 parent 5621ba3 commit ab3d027
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 ab3d027

Please sign in to comment.