Official docker image in a kubernetes cluster.
My Mautic version is:5.2.1
My PHP version is:
My Database type and version is: MySQL/MariaDB
Your problem
My problem is: Pods can regularly restart in Kubernetes and when the pod restarts the installer runs again replacing the existing database.
All of the env vars in the deployment descriptor supporting the mautc instance - name: MAUTIC_DB_HOST
value: mautic-db
- name: MAUTIC_DB_PORT
value: β3306β
- name: MAUTIC_DB_NAME
value: mautic
- name: MAUTIC_DB_USER
value: mautic
- name: MAUTIC_DB_PASSWORD
****
- name: PHP_MEMORY_LIMIT
value: β4Gβ
- name: PHP_MAX_EXECUTION_TIME
value: β3600β
- name: PHP_MAX_UPLOAD
value: β200Mβ
- name: MAUTIC_URL
value: βhttps://mautic.example.comβ
- name: MAUTIC_RUN_INSTALLER
value: βfalseβ
I am looking for a startup parameter that will prevent the setup tool from reinstalling the database.
How do I tell mautic 5 to reuse the existing database ?