fix(stalwart): Add config.json to load web UI configuration

- Mount /etc/stalwart/config.json pointing to RocksDB
- Allows Stalwart to load configuration from web UI setup
- Resolves bootstrap mode loop

Refs: DEV-206

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
CTO Agent 2026-07-04 10:34:28 +00:00
parent 843affde05
commit 0d4d9b9adf

View file

@ -182,9 +182,9 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /var/lib/stalwart mountPath: /var/lib/stalwart
- name: config - name: bootstrap-config
mountPath: /opt/stalwart-mail/etc/config.toml mountPath: /etc/stalwart/config.json
subPath: config.toml subPath: config.json
resources: resources:
requests: requests:
memory: "512Mi" memory: "512Mi"
@ -212,9 +212,9 @@ spec:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: stalwart-data claimName: stalwart-data
- name: config - name: bootstrap-config
configMap: configMap:
name: stalwart-config name: stalwart-bootstrap-config
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress