Jose Diaz-Gonzalez
1308e21947
feat: migrate environment variables to plugin properties
Standardize how environment variables are migrated to properties during
install triggers and migrate all remaining DOKKU_* config vars to their
appropriate plugin properties.
Adds a reusable MigrateConfigToProperties() function in the common
package with Transform callback and ListProperty support, plus a
migrate-config-to-property subcommand for the prop binary so shell
plugins can use the same code path.
Migrated variables and their new property owners:
- DOKKU_APP_PROXY_TYPE/DOKKU_PROXY_TYPE → proxy type
- DOKKU_DISABLE_PROXY → proxy disabled
- DOKKU_PROXY_PORT → ports proxy-port
- DOKKU_PROXY_SSL_PORT → ports proxy-ssl-port
- DOKKU_APP_RESTORE → ps restore
- DOKKU_SKIP_DEPLOY → ps skip-deploy
- DOKKU_START_CMD → ps start-cmd
- DOKKU_DOCKERFILE_START_CMD → ps dockerfile-start-cmd
- DOKKU_DISABLE_APP_AUTOCREATION → apps disable-autocreation
- DOKKU_APP_SHELL → scheduler shell
- DOKKU_SKIP_CLEANUP → builder skip-cleanup
- DOKKU_CHECKS_DISABLED → checks disabled
- DOKKU_CHECKS_SKIPPED → checks skipped
- DOKKU_CHECKS_WAIT → checks wait
- DOKKU_CHECKS_TIMEOUT → checks timeout
- DOKKU_CHECKS_ATTEMPTS → checks attempts
- DOKKU_DEFAULT_CHECKS_WAIT → checks default-wait
- DOKKU_SKIP_ALL_CHECKS → checks disabled (legacy)
- DOKKU_SKIP_DEFAULT_CHECKS → checks skipped (legacy)
Also refactors existing bespoke migration loops in scheduler, ports, ps,
builder, and nginx-vhosts plugins to use the standardized utility.
Removes DOKKU_PARALLEL_ARGUMENTS from documentation (unused in core).
Deprecates fn-migrate-config-to-property bash function.
closes #1558
2026-04-25 05:11:07 -04:00
..
2026-04-25 05:11:07 -04:00
2025-06-10 23:36:10 -04:00
2024-03-12 22:27:39 -04:00
2025-07-08 22:34:30 -04:00
2026-04-25 05:11:07 -04:00
2020-02-10 00:37:00 -05:00
2024-07-09 10:42:21 -04:00
2023-08-27 20:00:45 -04:00
2025-11-10 01:57:46 -05:00
2026-04-14 03:16:56 -04:00
2026-04-14 03:16:56 -04:00
2021-02-13 02:17:25 -05:00
2024-09-28 21:11:13 -04:00
2025-06-09 11:39:00 -04:00
2025-06-10 21:45:08 -04:00
2026-04-18 07:40:42 +00:00
2022-04-03 14:13:26 -04:00
2021-02-25 06:04:37 -05:00
2020-02-10 02:40:59 -05:00
2025-06-10 21:46:07 -04:00
2025-06-18 23:51:39 -04:00
2024-04-04 02:27:43 -04:00
2019-01-07 01:25:55 -05:00
2020-02-10 02:40:59 -05:00
2026-04-25 05:11:07 -04:00
2026-04-25 05:11:07 -04:00
2020-12-13 02:10:52 -05:00
2020-02-10 02:40:59 -05:00
2024-02-21 15:19:45 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 10:58:57 -04:00
2023-03-18 04:55:54 -04:00
2021-08-08 03:04:25 -04:00
2026-04-25 05:11:07 -04:00
2025-11-18 17:06:30 -05:00
2024-02-21 15:19:45 -05:00
2025-11-18 16:46:31 -05:00
2025-10-25 14:24:35 -05:00
2025-10-25 14:24:35 -05:00
2025-11-09 23:16:38 -05:00