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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user