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
Jose Diaz-Gonzalez
2745e46054
fix(tests): expect 502 for cloned app without deploy
...
The apps:clone --skip-deploy test expected 404 for the cloned app's
domain. With the new empty nginx config, undeployed apps now correctly
return 502 Bad Gateway instead of falling through to nginx's default.
2026-04-25 00:55:55 -04:00
dependabot[bot]
f3e29c7c94
chore(deps): bump dokku/openresty-docker-proxy
...
Bumps dokku/openresty-docker-proxy from 0.9.3 to 0.10.0.
---
updated-dependencies:
- dependency-name: dokku/openresty-docker-proxy
dependency-version: 0.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-24 13:53:53 +00:00
Jose Diaz-Gonzalez
ddf470282e
fix(tests): update config and nginx tests for post-create side effects
...
The config:show and config:export tests now include DOKKU_PROXY_PORT
in expected output since ports-configure runs at app creation time.
Add sleep before HTTP assertion in nginx-vhosts_13 test to allow
nginx async reload to complete.
2026-04-24 05:02:49 -04:00
Jose Diaz-Gonzalez
dcce09f19f
fix(nginx): skip post-create config when nginx is stopped
...
When nginx is stopped (e.g. during traefik/caddy tests), the
post-create trigger should not attempt to build and reload the
nginx config as the service is not running.
2026-04-24 04:14:49 -04:00
Jose Diaz-Gonzalez
fc7ddf34ba
fix(nginx): make post-create executable and guard empty port maps
...
The post-create trigger was not executable so plugn skipped it.
Also skip generating the 502 config when PROXY_PORT_MAP is empty
(e.g. after ports:clear) to avoid a sigil template index error.
2026-04-24 03:57:22 -04:00
Jose Diaz-Gonzalez
7529d8cb08
refactor(nginx): deduplicate sigil params in nginx_build_config
...
Merge the deployed and empty-listeners branches into a single flow
that shares the SIGIL_PARAMS array, temp dir setup, sigil rendering,
and nginx reload. Branch only for deployed-specific logic: image
verification, custom template lookup, per-process listeners, and HSTS.
2026-04-24 03:04:04 -04:00
Jose Diaz-Gonzalez
20f2100d46
docs: add 0.38.0 migration guide with nginx.conf.sigil update notes
...
Custom nginx.conf.sigil templates that reference DOKKU_APP_WEB_LISTENERS
may now receive an empty value when rendered for apps without running web
processes. The migration guide documents how to handle this with a
conditional in the template.
2026-04-24 02:54:22 -04:00
Jose Diaz-Gonzalez
5bf82d2585
docs: add note about when the new feature lands
2026-04-24 02:40:27 -04:00
Jose Diaz-Gonzalez
2993fa800c
feat(nginx): generate 502 config for apps without web listeners
...
When an app has no web listeners (not yet deployed, no web process type,
or web processes not running), generate a minimal nginx config that
returns 502 Bad Gateway instead of having no config at all. This ensures
domains resolve, monitoring tools detect non-200 status codes, and SSL
certificate provisioning tools like letsencrypt can function.
2026-04-24 02:10:30 -04:00
Jose Diaz-Gonzalez
71ec612fbd
Merge pull request #8486 from dokku/dependabot/pip/docs/_build/click-8.3.3
...
chore(deps): bump click from 8.3.2 to 8.3.3 in /docs/_build
2026-04-24 00:13:21 -04:00
Jose Diaz-Gonzalez
914be7276f
Merge pull request #8492 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/fluxcd/pkg/kustomize-1.31.0
...
chore(deps): bump github.com/fluxcd/pkg/kustomize from 1.29.0 to 1.31.0 in /plugins/scheduler-k3s
2026-04-23 14:37:05 -04:00
dependabot[bot]
ae5cbe1e98
chore(deps): bump github.com/fluxcd/pkg/kustomize
...
Bumps [github.com/fluxcd/pkg/kustomize](https://github.com/fluxcd/pkg ) from 1.29.0 to 1.31.0.
- [Commits](https://github.com/fluxcd/pkg/compare/kustomize/v1.29.0...kustomize/v1.31.0 )
---
updated-dependencies:
- dependency-name: github.com/fluxcd/pkg/kustomize
dependency-version: 1.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-23 13:54:54 +00:00
Jose Diaz-Gonzalez
ce45b8fca3
Merge pull request #8491 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-287
...
chore(deps-dev): bump heroku/heroku-buildpack-php from 285 to 287 in /tests/apps/php
2026-04-23 04:46:40 -04:00
Jose Diaz-Gonzalez
8cebe9270a
Merge pull request #8489 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/traefik/traefik/v2-2.11.43
...
chore(deps): bump github.com/traefik/traefik/v2 from 2.11.42 to 2.11.43 in /plugins/scheduler-k3s
2026-04-23 04:46:16 -04:00
Jose Diaz-Gonzalez
6ad2e13f32
Merge pull request #8488 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.55.0-debian
...
chore(deps): bump timberio/vector from 0.54.0-debian to 0.55.0-debian in /plugins/logs
2026-04-23 04:45:58 -04:00
Jose Diaz-Gonzalez
8721db17c2
Merge pull request #8487 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-v3.6.14
...
chore(deps): bump traefik from v3.6.13 to v3.6.14 in /plugins/traefik-vhosts
2026-04-23 04:45:26 -04:00
dependabot[bot]
9087d8d5d5
chore(deps-dev): bump heroku/heroku-buildpack-php in /tests/apps/php
...
Bumps [heroku/heroku-buildpack-php](https://github.com/heroku/heroku-buildpack-php ) from 285 to 287.
- [Release notes](https://github.com/heroku/heroku-buildpack-php/releases )
- [Changelog](https://github.com/heroku/heroku-buildpack-php/blob/main/CHANGELOG.md )
- [Commits](https://github.com/heroku/heroku-buildpack-php/compare/v285...v287 )
---
updated-dependencies:
- dependency-name: heroku/heroku-buildpack-php
dependency-version: '287'
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-23 05:12:06 +00:00
dependabot[bot]
3e417a15df
chore(deps): bump github.com/traefik/traefik/v2
...
Bumps [github.com/traefik/traefik/v2](https://github.com/traefik/traefik ) from 2.11.42 to 2.11.43.
- [Release notes](https://github.com/traefik/traefik/releases )
- [Changelog](https://github.com/traefik/traefik/blob/v2.11.43/CHANGELOG.md )
- [Commits](https://github.com/traefik/traefik/compare/v2.11.42...v2.11.43 )
---
updated-dependencies:
- dependency-name: github.com/traefik/traefik/v2
dependency-version: 2.11.43
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-23 05:11:15 +00:00
dependabot[bot]
66373a4ce8
chore(deps): bump timberio/vector in /plugins/logs
...
Bumps timberio/vector from 0.54.0-debian to 0.55.0-debian.
---
updated-dependencies:
- dependency-name: timberio/vector
dependency-version: 0.55.0-debian
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-23 05:10:42 +00:00
dependabot[bot]
c3a5e59045
chore(deps): bump traefik in /plugins/traefik-vhosts
...
Bumps traefik from v3.6.13 to v3.6.14.
---
updated-dependencies:
- dependency-name: traefik
dependency-version: v3.6.14
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-23 05:10:40 +00:00
dependabot[bot]
1024d65d8c
chore(deps): bump click from 8.3.2 to 8.3.3 in /docs/_build
...
Bumps [click](https://github.com/pallets/click ) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pallets/click/releases )
- [Changelog](https://github.com/pallets/click/blob/8.3.3/CHANGES.rst )
- [Commits](https://github.com/pallets/click/compare/8.3.2...8.3.3 )
---
updated-dependencies:
- dependency-name: click
dependency-version: 8.3.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-23 05:10:17 +00:00
Jose Diaz-Gonzalez
80d2ed5aa3
Merge pull request #8478 from dokku/8477-omit-irrelevant-dep-bump-changelog-entries
...
chore: label test app dependency updates as type: tests
2026-04-23 01:09:21 -04:00
Jose Diaz-Gonzalez
f13501ae3e
Merge pull request #8483 from dokku/dependabot/pip/docs/_build/markdown-gte-3.10.2-and-lt-3.11
...
chore(deps): update markdown requirement from <3.11,>=3.2.1 to >=3.10.2,<3.11 in /docs/_build
2026-04-22 13:56:52 -04:00
Jose Diaz-Gonzalez
621a9a218d
Merge pull request #8485 from dokku/dependabot/go_modules/plugins/scheduler-k3s/k8s.io/kubectl-0.35.4
...
chore(deps): bump k8s.io/kubectl from 0.35.2 to 0.35.4 in /plugins/scheduler-k3s
2026-04-22 13:56:35 -04:00
dependabot[bot]
d487b595d4
chore(deps): bump k8s.io/kubectl in /plugins/scheduler-k3s
...
Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl ) from 0.35.2 to 0.35.4.
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.35.2...v0.35.4 )
---
updated-dependencies:
- dependency-name: k8s.io/kubectl
dependency-version: 0.35.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-22 16:15:35 +00:00
Jose Diaz-Gonzalez
338bceb20e
Merge pull request #8484 from dokku/dependabot/go_modules/plugins/scheduler-k3s/k8s.io/client-go-0.35.4
...
chore(deps): bump k8s.io/client-go from 0.35.2 to 0.35.4 in /plugins/scheduler-k3s
2026-04-22 12:13:36 -04:00
Jose Diaz-Gonzalez
107b5f5f0a
Merge pull request #8482 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-4.0.3
...
chore(deps): bump ruby from 4.0.2 to 4.0.3 in /tests/apps/dockerfile-entrypoint
2026-04-22 12:13:24 -04:00
dependabot[bot]
fe3d5c25dd
chore(deps): bump k8s.io/client-go in /plugins/scheduler-k3s
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.35.2 to 0.35.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.35.2...v0.35.4 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-version: 0.35.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-22 13:54:32 +00:00
dependabot[bot]
351ca493d3
chore(deps): update markdown requirement in /docs/_build
...
Updates the requirements on [markdown](https://github.com/Python-Markdown/markdown ) to permit the latest version.
- [Release notes](https://github.com/Python-Markdown/markdown/releases )
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md )
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.2.1...3.10.2 )
---
updated-dependencies:
- dependency-name: markdown
dependency-version: 3.10.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-22 13:53:32 +00:00
dependabot[bot]
424ecb96dc
chore(deps): bump ruby in /tests/apps/dockerfile-entrypoint
...
Bumps ruby from 4.0.2 to 4.0.3.
---
updated-dependencies:
- dependency-name: ruby
dependency-version: 4.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-22 13:53:09 +00:00
Jose Diaz-Gonzalez
5f99b683ee
Merge pull request #8481 from dokku/dependabot/pip/tests/apps/dockerfile-release/psycopg2-binary-2.9.12
...
chore(deps): bump psycopg2-binary from 2.9.11 to 2.9.12 in /tests/apps/dockerfile-release
2026-04-21 23:16:19 -04:00
Jose Diaz-Gonzalez
387bbf4c8a
Merge pull request #8479 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/go-openapi/jsonpointer-0.23.1
...
chore(deps): bump github.com/go-openapi/jsonpointer from 0.23.0 to 0.23.1 in /plugins/scheduler-k3s
2026-04-21 23:16:10 -04:00
Jose Diaz-Gonzalez
0caab03276
Merge pull request #8480 from dokku/dependabot/go_modules/plugins/scheduler-k3s/k8s.io/kubernetes-1.35.4
...
chore(deps): bump k8s.io/kubernetes from 1.35.3 to 1.35.4 in /plugins/scheduler-k3s
2026-04-21 23:16:04 -04:00
dependabot[bot]
9dbaf34f99
chore(deps): bump psycopg2-binary in /tests/apps/dockerfile-release
...
Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2 ) from 2.9.11 to 2.9.12.
- [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS )
- [Commits](https://github.com/psycopg/psycopg2/compare/2.9.11...2.9.12 )
---
updated-dependencies:
- dependency-name: psycopg2-binary
dependency-version: 2.9.12
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-21 13:54:44 +00:00
dependabot[bot]
0ee28bf4c7
chore(deps): bump k8s.io/kubernetes in /plugins/scheduler-k3s
...
Bumps [k8s.io/kubernetes](https://github.com/kubernetes/kubernetes ) from 1.35.3 to 1.35.4.
- [Release notes](https://github.com/kubernetes/kubernetes/releases )
- [Commits](https://github.com/kubernetes/kubernetes/compare/v1.35.3...v1.35.4 )
---
updated-dependencies:
- dependency-name: k8s.io/kubernetes
dependency-version: 1.35.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-20 16:18:29 +00:00
dependabot[bot]
d91ed9f683
chore(deps): bump github.com/go-openapi/jsonpointer
...
Bumps [github.com/go-openapi/jsonpointer](https://github.com/go-openapi/jsonpointer ) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/go-openapi/jsonpointer/releases )
- [Commits](https://github.com/go-openapi/jsonpointer/compare/v0.23.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/jsonpointer
dependency-version: 0.23.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-20 16:18:19 +00:00
Jose Diaz-Gonzalez
197dc69056
chore: label test app dependency updates as type: tests
...
Move dependabot entries for /tests/apps/ directories from the
"type: dependencies" label to "type: tests" so they appear under
the Tests section in the changelog instead of Dependencies.
2026-04-19 19:02:59 -04:00
Jose Diaz-Gonzalez
08596c9648
fix: skip app.json buildpacks for image-based deploys
...
When deploying via git:from-image, the source image may contain an
app.json with buildpacks entries that are not relevant. Check for
the source-image property and skip app.json buildpacks when set.
2026-04-18 20:29:05 -04:00
Jose Diaz-Gonzalez
b0b11bcf26
fix: remove buildpacks from dockerfile test app and add tests for app.json buildpacks
...
The buildpacks entry in tests/apps/dockerfile/app.json caused
the post-extract trigger to write a .buildpacks file during
Dockerfile-based deploys, breaking builder detection. Remove
the entry and add Go unit tests for getBuildpacks/validBuildpackURL,
a bats integration test for deploying with app.json buildpacks,
and documentation for the new feature.
2026-04-18 05:43:44 -04:00
Jose Diaz-Gonzalez
44dbbe6a34
fix: return buildpacks specified by the buildpacks plugin
2026-04-18 04:15:53 -04:00
Jose Diaz-Gonzalez
5a787af3ae
feat: add support for specifying buildpacks via app.json
...
The order of detection is:
- buildpacks:set
- app.json
- .buildpacks
- auto-detected from codebase
Closes #7102
2026-04-18 04:15:51 -04:00
Dokku Bot
996d882310
Release 0.37.9
...
# History
## 0.37.9
Install/update via the bootstrap script:
```shell
wget -NP . https://dokku.com/install/v0.37.9/bootstrap.sh
sudo DOKKU_TAG=v0.37.9 bash bootstrap.sh
```
### Dependencies
- #8473 : @dependabot[bot] chore(deps): bump k8s.io/api from 0.35.2 to 0.35.4 in /plugins/scheduler-k3s
- #8474 : @dependabot[bot] chore(deps): bump github.com/go-openapi/jsonpointer from 0.22.5 to 0.23.0 in /plugins/scheduler-k3s
- #8476 : @dependabot[bot] chore(deps): bump github.com/go-acme/lego/v4 from 4.25.2 to 4.34.0 in /plugins/scheduler-k3s
- #8475 : @dependabot[bot] chore(deps): bump github.com/moby/spdystream from 0.5.0 to 0.5.1 in /plugins/scheduler-k3s
v0.37.9
2026-04-18 07:40:42 +00:00
Jose Diaz-Gonzalez
b686a8f8a4
Merge pull request #8473 from dokku/dependabot/go_modules/plugins/scheduler-k3s/k8s.io/api-0.35.4
...
chore(deps): bump k8s.io/api from 0.35.2 to 0.35.4 in /plugins/scheduler-k3s
2026-04-18 01:59:51 -04:00
Jose Diaz-Gonzalez
6806b1c17b
Merge pull request #8474 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/go-openapi/jsonpointer-0.23.0
...
chore(deps): bump github.com/go-openapi/jsonpointer from 0.22.5 to 0.23.0 in /plugins/scheduler-k3s
2026-04-18 01:59:40 -04:00
Jose Diaz-Gonzalez
cacafbc181
Merge pull request #8476 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/go-acme/lego/v4-4.34.0
...
chore(deps): bump github.com/go-acme/lego/v4 from 4.25.2 to 4.34.0 in /plugins/scheduler-k3s
2026-04-18 01:59:15 -04:00
Jose Diaz-Gonzalez
71db1e24ec
Merge pull request #8475 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/moby/spdystream-0.5.1
...
chore(deps): bump github.com/moby/spdystream from 0.5.0 to 0.5.1 in /plugins/scheduler-k3s
2026-04-16 17:48:03 -04:00
dependabot[bot]
2acfdbd7d4
chore(deps): bump github.com/go-acme/lego/v4 in /plugins/scheduler-k3s
...
Bumps [github.com/go-acme/lego/v4](https://github.com/go-acme/lego ) from 4.25.2 to 4.34.0.
- [Release notes](https://github.com/go-acme/lego/releases )
- [Changelog](https://github.com/go-acme/lego/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-acme/lego/compare/v4.25.2...v4.34.0 )
---
updated-dependencies:
- dependency-name: github.com/go-acme/lego/v4
dependency-version: 4.34.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-16 21:31:12 +00:00
dependabot[bot]
fd6c2c5f62
chore(deps): bump github.com/moby/spdystream in /plugins/scheduler-k3s
...
Bumps [github.com/moby/spdystream](https://github.com/moby/spdystream ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/moby/spdystream/releases )
- [Commits](https://github.com/moby/spdystream/compare/v0.5.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/spdystream
dependency-version: 0.5.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-16 20:50:59 +00:00
dependabot[bot]
d1aeb04797
chore(deps): bump github.com/go-openapi/jsonpointer
...
Bumps [github.com/go-openapi/jsonpointer](https://github.com/go-openapi/jsonpointer ) from 0.22.5 to 0.23.0.
- [Release notes](https://github.com/go-openapi/jsonpointer/releases )
- [Commits](https://github.com/go-openapi/jsonpointer/compare/v0.22.5...v0.23.0 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/jsonpointer
dependency-version: 0.23.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-16 13:54:30 +00:00