Adjust Neo4j memory settings to avoid startup fail

This commit is contained in:
Cyber MacGeddon 2025-01-11 12:12:20 +00:00
parent cec9e29222
commit 648799f17f

View file

@ -14,12 +14,14 @@ local images = import "values/images.jsonnet";
.with_image(images.neo4j)
.with_environment({
NEO4J_AUTH: "neo4j/password",
NEO4J_server_memory_pagecache_size: "512m",
NEO4J_server_memory_heap_max__size: "512m",
// NEO4J_server_bolt_listen__address: "0.0.0.0:7687",
// NEO4J_server_default__listen__address: "0.0.0.0",
// NEO4J_server_http_listen__address: "0.0.0.0:7474",
})
.with_limits("1.0", "768M")
.with_reservations("0.5", "768M")
.with_limits("1.0", "1536M")
.with_reservations("0.5", "1536M")
.with_port(7474, 7474, "api")
.with_port(7687, 7687, "api2")
.with_volume_mount(vol, "/data");