fix(neuron-prod): set NEURON_DATA_DIR to point app to PVC database

NeuronModule reads NEURON_DATA_DIR to construct the DB path as
$NEURON_DATA_DIR/neuron.db. Without this env var the app falls
back to a temp file, losing all data on pod restart. Also renamed
the PVC file from neuron-prod.db to neuron.db to match.
This commit is contained in:
Will Anderson
2026-04-24 04:56:29 -05:00
parent 883c4afd50
commit b5e8ea9111
@@ -5,7 +5,8 @@ metadata:
namespace: neuron-prod
data:
SPRING_PROFILES_ACTIVE: "prod"
NEURON_DB_PATH: "/data/neuron-prod.db"
NEURON_DATA_DIR: "/data"
NEURON_DB_PATH: "/data/neuron.db"
NEURON_STORAGE_PATH: "/data"
SERVER_TOMCAT_ACCESSLOG_ENABLED: "true"
# Prod: minimal surface — never expose internals