Kevin Veen-Birkenbach 8b2f0ac47b
refactor(web-app-espocrm): improve config patching and container vars
- Replace `ESPOCRM_NAME` with `ESPOCRM_CONTAINER` for clarity and consistency.
- Drop unused `ESPOCRM_CONFIG_FILE_PUBLIC`, rely only on `config-internal.php`.
- Make DB credential patching idempotent using `grep` + `sed` checks.
- Replace direct sed edits for maintenance/cron/cache with EspoCRM ConfigWriter.
- Add fallback execution as root if www-data user cannot write config.
- Clear EspoCRM cache only when config changes and in update mode.
- Remove obsolete OIDC scopes inline task (now handled via env/vars).
- Fix docker-compose template to use `ESPOCRM_CONTAINER`.

This refactor makes the EspoCRM role more robust, idempotent, and aligned
with EspoCRM’s official ConfigWriter mechanism.

See conversation: https://chatgpt.com/share/68a87820-12f8-800f-90d6-01ba97a1b279
2025-08-22 16:01:48 +02:00
..
2025-08-15 19:00:03 +02:00
2025-08-22 09:23:40 +02:00
2025-08-18 23:54:23 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 05:49:35 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 05:49:35 +02:00
2025-08-21 09:49:36 +02:00
2025-08-21 16:27:10 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 01:01:32 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:02:29 +02:00
2025-08-20 01:02:29 +02:00
2025-07-04 08:03:27 +02:00
2025-03-20 17:00:07 +01:00
2025-07-12 17:52:36 +02:00