Files
infrastructure/servers/legion/k8s/neuron-technologies/prod/configmap.yaml
T
Will Anderson b5e8ea9111 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.
2026-04-24 04:56:29 -05:00

15 lines
431 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: neuron-prod-config
namespace: neuron-prod
data:
SPRING_PROFILES_ACTIVE: "prod"
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
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "health,info"
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS: "never"