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