Skip to content

Commit

Permalink
Fix Elasticsearch memory hogging the right way
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Aug 28, 2023
1 parent cf5778a commit f0fbf67
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions docker-compose.overrides.yml

This file was deleted.

2 changes: 2 additions & 0 deletions docker/es/env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ discovery.type="single-node"

http.cors.enabled="true"
http.cors.allow-origin="/.*/"

ES_JAVA_OPTS="-Xms512m -Xmx512m"
4 changes: 0 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ IS_PROD := env_var_or_default("PROD", env_var_or_default("IS_PROD", ""))
PROD_ENV := env_var_or_default("PROD_ENV", "")
IS_CI := env_var_or_default("CI", "")
DC_USER := env_var_or_default("DC_USER", "opener")
ENABLE_DC_OVERRIDES := env_var_or_default("OPENVERSE_ENABLE_DC_OVERRIDES", "true")

# Show all available recipes, also recurses inside nested justfiles
@_default:
Expand Down Expand Up @@ -117,9 +116,6 @@ DOCKER_FILE := "-f " + (
else { "docker-compose.yml" }
}
else { "docker-compose.yml" }
) + (
if ENABLE_DC_OVERRIDES == "true" { " -f docker-compose.overrides.yml" }
else { "" }
)
EXEC_DEFAULTS := if IS_CI == "" { "" } else { "-T" }

Expand Down

0 comments on commit f0fbf67

Please sign in to comment.