Commit Graph
100 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez b39ff6c3f9 Merge pull request #9274 from dokku/chore/bump-pack-0.40.11
CI / check-commit (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
docs / deploy (push) Has been cancelled
lint / hadolint (push) Has been cancelled
lint / markdown-lint (push) Has been cancelled
lint / packer (push) Has been cancelled
lint / shellcheck (push) Has been cancelled
lint / shfmt (push) Has been cancelled
lint / yamllint (push) Has been cancelled
CI / build (push) Has been cancelled
CI / build-image.linux/amd64 (push) Has been cancelled
CI / build-image.linux/arm64 (push) Has been cancelled
CI / unit.${{ matrix.index }} (push) Has been cancelled
CI / docker (push) Has been cancelled
CI / go.0 (push) Has been cancelled
CI / go.1 (push) Has been cancelled
CI / go.2 (push) Has been cancelled
CI / go.3 (push) Has been cancelled
CI / sudo-preserve-env (push) Has been cancelled
CI / publish-test-results (push) Has been cancelled
chore: bump pack to 0.40.11
2026-11-13 19:25:28 -05:00
Jose Diaz-Gonzalez b4f00f5416 Merge pull request #9279 from dokku/dependabot/pip/tests/apps/dockerfile-release/gunicorn-27.0.0
chore(deps): bump gunicorn from 26.2.0 to 27.0.0 in /tests/apps/dockerfile-release
2026-11-13 11:18:37 -05:00
Jose Diaz-Gonzalez 63c119c93e Merge pull request #9278 from dokku/dependabot/pip/docs/_build/importlib-metadata-10.2.0
chore(deps): bump importlib-metadata from 10.1.0 to 10.2.0 in /docs/_build
2026-11-13 11:18:23 -05:00
Jose Diaz-Gonzalez 66ad9b7e09 Merge pull request #9277 from dokku/dependabot/pip/docs/_build/soupsieve-4.1
chore(deps): bump soupsieve from 4.0.1 to 4.1 in /docs/_build
2026-11-13 11:18:03 -05:00
Jose Diaz-Gonzalez 8f9b4c468a Merge pull request #9276 from dokku/dependabot/pip/tests/apps/multi/gunicorn-27.0.0
chore(deps): bump gunicorn from 26.2.0 to 27.0.0 in /tests/apps/multi
2026-11-13 11:17:49 -05:00
Jose Diaz-Gonzalez d8b2401770 Merge pull request #9275 from dokku/dependabot/pip/tests/apps/python-flask/gunicorn-27.0.0
chore(deps): bump gunicorn from 26.2.0 to 27.0.0 in /tests/apps/python-flask
2026-11-13 11:17:25 -05:00
Jose Diaz-Gonzalez a8f0d9b4be Merge pull request #9273 from dokku/dependabot/pip/docs/_build/pymdown-extensions-13.0
chore(deps): bump pymdown-extensions from 12.3 to 13.0 in /docs/_build
2026-11-12 12:28:15 -05:00
Jose Diaz-Gonzalez bf03afb981 Merge pull request #9271 from dokku/dependabot/bundler/tests/apps/ruby/bundler-f949bdc7e4
chore(deps): bump rack from 3.2.6 to 3.2.8 in /tests/apps/ruby in the bundler group across 1 directory
2026-11-10 15:47:21 -05:00
Jose Diaz-Gonzalez c5f9b9573b Merge pull request #9270 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.108.1
chore(deps): bump sass from 1.108.0 to 1.108.1 in /tests/apps/multi
2026-11-10 15:47:03 -05:00
Jose Diaz-Gonzalez c0e9058149 Merge pull request #9269 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.8.1
chore(deps): bump mkdocs-material from 9.8.0 to 9.8.1 in /docs/_build
2026-11-10 15:46:51 -05:00
Jose Diaz-Gonzalez 11f58b0a07 Merge pull request #9268 from dokku/dependabot/pip/docs/_build/click-8.5.1
chore(deps): bump click from 8.5.0 to 8.5.1 in /docs/_build
2026-11-10 15:46:31 -05:00
Jose Diaz-Gonzalez 7da3676170 Merge pull request #9267 from dokku/dependabot/go_modules/plugins/datastore/go_modules-a102ea01b8
chore(deps): bump github.com/dokku/dokku-datastore in /plugins/datastore
2026-11-09 13:59:24 -05:00
Jose Diaz-Gonzalez 78897a7dda Merge pull request #9266 from dokku/dependabot/go_modules/plugins/app-json/go_modules-51b9ffc461
chore(deps): bump golang.org/x/sync in /plugins/common
2026-11-09 12:26:14 -05:00
Jose Diaz-Gonzalez f223626833 Merge pull request #9265 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.108.0
chore(deps): bump sass from 1.107.1 to 1.108.0 in /tests/apps/multi
2026-11-09 12:26:00 -05:00
Jose Diaz-Gonzalez e05e8e74fd Merge pull request #9264 from dokku/dependabot/pip/docs/_build/markdown-gte-3.11.3-and-lt-3.12
chore(deps): update markdown requirement from <3.12,>=3.11.2 to >=3.11.3,<3.12 in /docs/_build
2026-11-09 12:25:49 -05:00
Jose Diaz-Gonzalez 28327f2666 Merge pull request #9263 from dokku/dependabot/pip/docs/_build/watchdog-7.1.0
chore(deps): bump watchdog from 7.0.0 to 7.1.0 in /docs/_build
2026-11-09 12:25:36 -05:00
Jose Diaz-Gonzalez ee0b886557 Merge branch 'master' into dependabot/pip/docs/_build/watchdog-7.1.0 2026-11-09 12:25:22 -05:00
Jose Diaz-Gonzalez e73af021de Merge pull request #9262 from dokku/dependabot/pip/docs/_build/soupsieve-4.0.1
chore(deps): bump soupsieve from 3.0.4 to 4.0.1 in /docs/_build
2026-11-09 12:24:51 -05:00
Jose Diaz-Gonzalez 474759601d Merge pull request #9261 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-v3.7.17
chore(deps): bump traefik from v3.7.16 to v3.7.17 in /plugins/traefik-vhosts
2026-11-09 12:24:39 -05:00
Jose Diaz-Gonzalez 77ec0bea45 Merge pull request #9259 from dokku/9254-plugins-common-does-not-build-on-windows
Build plugins/common on windows
2026-11-08 23:06:02 -05:00
Jose Diaz-Gonzalez 06a6fffb59 fix: build plugins/common on windows
On windows, `LockDirectory` now takes a `LockFileEx` lock on a `.dokku.lock` file inside the directory, as `flock` is unavailable there.
2026-11-08 21:13:25 -05:00
Jose Diaz-Gonzalez 12c1bf3493 Merge pull request #9258 from dokku/chore/bump-herokuish-0.11.25
chore: bump herokuish to 0.11.25
2026-11-08 20:44:52 -05:00
Jose Diaz-Gonzalez 926ed2e699 Merge pull request #8595 from dokku/8313-coredns-docker
Resolve nginx upstreams via coredns-docker
2026-11-07 23:41:44 -05:00
Jose Diaz-Gonzalez a0c790c353 fix: require coredns-docker 0.8.0
The previous release's default Corefile held host port 8080 on every interface, which broke apps and proxies mapping that port. 0.8.0 binds all of its listeners to `127.0.0.1` and moves the health and ready endpoints off common ports.
2026-11-07 03:18:52 -05:00
Jose Diaz-Gonzalez ae8cbdcc66 docs: require coredns-docker 0.6.1 2026-11-06 22:10:58 -05:00
Jose Diaz-Gonzalez a46139eb31 test: verify nginx returns 502 for a stopped app container 2026-11-06 22:10:49 -05:00
Jose Diaz-Gonzalez 86175dd55c fix: let the build set the coredns-docker version
The minimum version is injected from `contrib/dependencies.json` at package build time, so hardcoding it in `debian/control` produced a duplicate constraint that `dpkg-deb` rejected.
2026-11-06 22:06:27 -05:00
Jose Diaz-Gonzalez bf2795640c feat: make coredns-docker upstream resolution opt-in
The bundled `nginx.conf.sigil` keeps rendering IP-based upstreams unless `dns-resolver` is set, for example with `dokku nginx:set --global dns-resolver 127.0.0.1:1053`. Unsetting the property reverts to IP-based upstreams, replacing the previous `off` sentinel.
2026-11-06 20:51:33 -05:00
Jose Diaz-Gonzalez b5315de49b feat: add dns-resolver-timeout property defaulting to 5s
Adds a new `dns-resolver-timeout` global nginx property that controls how long nginx waits on the configured DNS resolver before giving up and returning 502. Without an explicit timeout nginx blocks on the resolver for its built-in 30s default, which means clients see hung requests instead of a fast 502 when coredns-docker is unreachable. The 5s default keeps failure-mode requests short while leaving headroom over a healthy local resolver round trip. The bundled `nginx.conf.sigil` emits `resolver_timeout {{ $.NGINX_DNS_RESOLVER_TIMEOUT }}` next to the existing `resolver` directive, and the outage-mode bats and docker-deploy tests now expect the curl call to complete inside that window.
2026-11-06 20:44:04 -05:00
Jose Diaz-Gonzalez 1d2854fa93 chore: run shfmt 2026-11-06 20:43:34 -05:00
Jose Diaz-Gonzalez ea72a80139 test: verify nginx returns 502 when coredns-docker is unavailable
Adds bats coverage on the bare-metal CI host (stops `coredns-docker` via `systemctl` and asserts the rendered vhost returns 502, then restarts and asserts recovery to 200) and a parallel `tests/test_coredns_outage` driver wired into `make test-ci-docker` that exercises the same flow against the dokku container using `sv stop|start coredns-docker`. Answers the open thread on whether the resolver-mode upstream surfaces a useful error when the DNS service is down.
2026-11-06 20:43:34 -05:00
Jose Diaz-Gonzalez 599bc7b243 ci: install coredns-docker before unpacking dokku.deb
The dokku deb now declares `coredns-docker (>= 0.6.1)` as a hard `Depends:`, but `tests/ci/setup.sh` uses `dpkg -i` (not `apt-get install`) so transitive deps are not resolved and the install fails. Pre-download the `coredns-docker` deb from packagecloud and include it in the same `dpkg -i` invocation that already installs `docker-container-healthchecker`, `docker-image-labeler`, `lambda-builder`, and the other dokku-maintained deps.
2026-11-06 20:43:20 -05:00
Jose Diaz-Gonzalez 5241fd4be2 feat: resolve nginx upstreams via coredns-docker
Stops nginx from routing to stale container IPs after host reboots, Docker upgrades without live-restore, or runtime container restarts. The bundled `nginx.conf.sigil` can use an nginx `resolver` directive against the local `coredns-docker` socket and a variable-based `proxy_pass` keyed on `<app>.<process-type>.docker`, so the upstream is resolved at request time honoring DNS TTL. `coredns-docker` becomes a hard `Depends:` of the dokku deb and is bundled in the Docker image under runit. Closes #8313.
2026-11-06 20:43:16 -05:00
Jose Diaz-Gonzalez bcd563c2db Merge pull request #9256 from dokku/9217-source-installs-fail-on-arm64-because-the-makefile-defaults-to-amd64
fix: default source installs to the host architecture
2026-11-06 20:21:06 -05:00
Jose Diaz-Gonzalez 3d4a6b5981 refactor: define TARGETARCH once in common.mk 2026-11-06 19:55:44 -05:00
Jose Diaz-Gonzalez f99b5c95f6 Merge pull request #9255 from dokku/dependabot/go_modules/plugins/app-json/go_modules-ecf04f50b1
chore(deps): bump github.com/spf13/pflag in /plugins/app-json
2026-11-06 19:29:43 -05:00
Jose Diaz-Gonzalez 825fa8968c fix: default source installs to the host architecture
Installing from source on an arm64 host downloaded amd64 dependencies and built amd64 plugins, failing once `plugin:install` ran the first binary. The `TARGETARCH` and `GOARCH` make variables now default to the host architecture and remain overridable, and debian packages are labelled with the architecture they were built for. Closes #9217.
2026-11-06 17:11:28 -05:00
Jose Diaz-Gonzalez b8dda7e8fe Merge pull request #8726 from dokku/8725-configuring-path-based-routing-to-specific-procfile-processes
Route paths to non-web processes via proxy:route
2026-11-05 19:42:56 -05:00
Jose Diaz-Gonzalez ffcc60709a fix: correct traefik route label escaping
Path-based route rules for traefik kept a stray backslash before each backtick, so traefik rejected the router and requests fell through to the web process. The nginx template tests now also supply the route variables and cover route rendering.
2026-11-05 01:36:10 -05:00
Jose Diaz-Gonzalez fb7d0f57bf chore: tidy nginx-vhosts go module 2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 8375bb543a chore: drop debug scaffolding from proxy-route bats files
Removes the per-step docker inspect label dumps in the caddy/traefik/openresty backend tests, the kubectl get service/ingress/endpoints dumps in the k3s T1 tests, the openresty T2 sidecar log fallback that became unnecessary once 0.12.1 fixed the upstream cache regression, and the trailing cat of /tmp/route-removed-body in every T3. The output/status echoes that match the project's bats convention stay, as does the file-based grep in T3 and every assertion-bearing kubectl call.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 1c6b16e823 fix: align caddy route container's site declarator with web's
The non-web container's caddy=DOMAIN label and web's caddy=DOMAIN:80 label declare separate Caddyfile site blocks, so caddy-docker-proxy never merges the route's handle directive into the site that actually serves port 80. fn-caddy-route-labels now mirrors web's letsencrypt + 443 check and emits DOMAIN:80 in the HTTP-only path. The bats T1 also dumps the web container's labels alongside api's so future declarator mismatches are visible in CI logs.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez dfd6e434a4 fix: bump openresty-docker-proxy to 0.12.1 for path-based routes
0.12.0 had a docker-gen template cache regression that suppressed
sidecar reloads when only the `strip-prefix` label was added or
removed on an existing route key. 0.12.1 fixes it, so the two
openresty bats tests previously marked `skip` against
dokku/openresty-docker-proxy#141 can run again.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 123fdc700c fix: drop k3s-traefik priority, wrap caddy web reverse_proxy in handle
The k3s-traefik IngressRoute was emitting priority: len(path) on the route rule but no priority on the bare-Host catch-all. Traefik defaults missing priority to rule length, so the catch-all rule got ~32 while the path rule got 7, and the catch-all always won. Same exact priority bug we fixed for docker-traefik. Dropping the priority line lets traefik use its rule-length default which gives longest-prefix-wins naturally because Host && PathPrefix is always longer than bare Host. The caddy web container's emission was a bare reverse_proxy directive that runs at caddy default order ~190, well before the handle directive at ~210 where my route emission lives. The bare reverse_proxy caught every request including paths intended for the route. When at least one route exists for the app, the web container now wraps its reverse_proxy in a catch-all handle block via caddy.9_handle.0_reverse_proxy=...; both the route's handle (at 0_) and web's catch-all (at 9_) live at the same directive order ~210 and caddy's mutually-exclusive handle logic picks the route handle for matched paths and the catch-all for everything else. The "9_" prefix orders web's catch-all after the route handles in the docker-proxy generated Caddyfile. Apps without routes keep the original bare reverse_proxy behaviour.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 3449c11a59 fix: diagnose caddy Caddyfile, skip openresty cache regression, rebuild k3s
Caddy T1 now dumps the generated Caddyfile and the adapted JSON from caddy-caddy-1 so the next CI run reveals how caddy-docker-proxy merged the web container's bare reverse_proxy with the api container's handle directive. Without the merged Caddyfile in front of us, we're guessing at caddy's directive evaluation order; with it we can pick the right structural fix. Openresty T2 and T3 are skipped with a reference to dokku/openresty-docker-proxy#141 - the 0.12.0 sidecar's docker-gen template cache observes the label set change but compares the rendered config against its previous output and concludes nothing changed when only the strip-prefix label is added, so proxy_pass never gets the trailing slash that strip-prefix is supposed to add. T1 keeps passing as the smoke that the path-prefix label vocabulary works at all. The k3s tests now run dokku ps:rebuild after every proxy:route:set/remove because scheduler-k3s has no proxy-build-config trigger handler today, so route mutations do not re-render the chart on their own; ps:rebuild forces a redeploy which renders the chart with current routes. The runtime gap (adding a proxy-build-config handler that calls into the chart-render path) is tracked as a follow-up.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 53066ec4ac fix: traefik priority loss, caddy directive order, openresty cache, k3s diagnostic
Traefik was setting an explicit priority equal to the path length, which is smaller than traefik's default priority (rule length) on the web container. Web's bare Host(...) rule has implicit priority ~40 while my explicit 7 lost the match, so /api/v0/Procfile always went to web. Dropping the explicit priority lets traefik use rule length, which already gives longest-prefix-wins because the route rule includes both Host and PathPrefix and so is always longer than web's bare Host(...). Caddy's route block was being preempted by web's bare reverse_proxy due to caddy's default directive order (reverse_proxy ~190, route ~210). Switching to handle, which terminates matched requests and isn't bypassed by reverse_proxy, makes /api/v0/* land on api instead of web's catch-all. Openresty T2 polls longer (60 retries) and dumps sidecar logs on failure so the upstream label-update cache delay can be reported. The k3s files dump kubectl get service/ingress/endpoints in T1 so the next CI run reveals whether the api Service has ports and whether the Ingress backend reference is correct.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 5dce07ca7e fix: drop shell-quoted body grep and add docker label diagnostic
The retry loop in T3 fed the response body through `bash -c "grep <<<\"$body\""`. When the body contains JSON env vars with embedded double quotes (PS1, paths with `$`, etc.), the inner `"$body"` terminates the outer `bash -c "..."` quoting prematurely and bash tries to execute the JSON content as commands. grep itself returns 0 but the subsequent error messages get appended to bats's `$output`, breaking `assert_output "0"`. Each T3 now curls into a file and greps the file directly, so the body never crosses a shell-quote boundary. Each label-based backend file additionally echoes `docker inspect <app>.api.1 --format '{{json .Config.Labels}}'` after `ps:rebuild`, surfacing the actual labels emitted onto the api container so the CI log shows whether the docker-args-process-deploy emission matches what the proxy daemon expects. A 5s sleep after rebuild gives the proxy daemon time to read the new labels before the HTTP retry loop starts.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 6dbd9b4d82 fix: make T3 route-removal assertions robust to reload race
T3 in every per-backend file polled the post-removal HTTP response using assert_http_localhost_response_contains, which retries on status code only. After a route is removed, both api and web return 200 for /api/v0/Procfile so the polling exits immediately; the body check then races with the proxy daemon picking up the new state and observes api's response (Procfile content) instead of web's catch-all. The proxy:route:remove output was also unechoed, hiding whether BuildConfig actually fired or was no-op suppressed. Each T3 now echoes the remove output and status, asserts via proxy:route:report that storage was cleared, then polls the body in a hand-rolled retry loop until the api marker is no longer present (timeout 30s). The k3s T3 files similarly retry the kubectl probe so the chart re-render has time to settle.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 40e13b5f13 fix: address PR review feedback on per-backend route tests
T1 of every per-backend test file asserted 200 with the api Procfile body for a request that lacks --strip-prefix, but without the strip the upstream sees /api/v0/Procfile and python's http.server returns 404; the retry loop polled on status only and accepted web's catch-all 200 first. The assertion now expects 404, which is the right signal that the route reaches the api process. T3 was rewritten to follow T2's two-step pattern (404 without strip, then 200 with strip) so the route is proven applied before checking content. T4 of proxy-route-nginx.bats relaxes the WebSocket header assertions to allow more than one occurrence because the headers correctly appear in both the route location block and the existing location / block. Backticks in fn-traefik-host-rule and fn-traefik-route-labels are now triple-escaped so they survive the docker-args eval path that turns the labels into a docker run invocation, matching the existing convention in docker-args-process-deploy. The label-based backend test files also echo the ps:rebuild output now so future failures of that step surface in the CI logs instead of silently exiting non-zero.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 4a550fe4b9 feat: render proxy routes under openresty and add per-backend tests
Bumps the openresty sidecar to 0.12.0, which introduces the openresty.route.<n>.* label family for path-based routing. The openresty-vhosts plugin now emits route labels for non-web containers targeted by a proxy:route:set, mirroring the traefik and caddy patterns. Adds integration tests for every rendering backend (proxy-route-{nginx,traefik,caddy,openresty}.bats covering basic routing, --strip-prefix, and removal) plus per-ingress-class scheduler-k3s tests (proxy-route-k3s-{nginx,traefik}.bats covering the same three cases against a real cluster). The nginx file additionally asserts the rendered nginx config carries the WebSocket upgrade headers in each route's location block.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez a4d40becd8 refactor: drop proxy-supports-routes capability trigger
The trigger was added to refuse proxy:route:set under openresty and haproxy, but the hard refusal created an ordering dependency for declarative tools and blocked users from staging routes ahead of a backend switch. Routes are now stored regardless of the active backend and silently ignored by backends that do not render them; the docs call out the inert behavior under openresty and haproxy.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 9153bb5097 fix: bound proxy route port parse to uint16 to silence CodeQL 2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez ffd5248cc3 feat: route paths to non-web processes via proxy:route
Adds proxy:route:set/remove/clear/report so users can declare path-prefix routes to non-web Procfile processes without hand-writing nginx.conf.sigil. Routes are stored on the proxy plugin as a PropertyMap of path to process:port:strip, with set semantics so each invocation produces a fully-determined state and re-application is idempotent. A proxy-supports-routes capability trigger gates the command per backend - nginx-vhosts, traefik-vhosts, caddy-vhosts, and scheduler-k3s render routes today; openresty-vhosts and haproxy-vhosts refuse until their sidecar images learn a path-prefix vocabulary (tracked in dokku/openresty-docker-proxy#137 and the haproxy sidecar). Closes #8725.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 2cd558e102 Merge pull request #8700 from dokku/migrate-stack-property-to-builder-herokuish
Split stack property into per-builder properties
2026-11-04 14:42:34 -05:00
Jose Diaz-Gonzalez e4fe7d9b1b Merge pull request #9253 from cmcaine/patch-1
Ps plugin 'restore' property affects ps:restore, not ps:retire
2026-11-04 14:18:12 -05:00
Jose Diaz-Gonzalez dc05585920 Merge pull request #9252 from dokku/dependabot/go_modules/plugins/datastore/go_modules-94b69c16f7
chore(deps): bump github.com/dokku/dokku-datastore in /plugins/datastore
2026-11-04 14:17:04 -05:00
Jose Diaz-Gonzalez de4da8a6ba Merge pull request #9251 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-5.2.19
chore(deps): bump django from 5.2.18 to 5.2.19 in /tests/apps/dockerfile-release
2026-11-04 14:16:45 -05:00
Jose Diaz-Gonzalez aff2848f0a Merge pull request #9250 from dokku/dependabot/pip/docs/_build/python-dateutil-4.0.0
chore(deps): bump python-dateutil from 3.0.0 to 4.0.0 in /docs/_build
2026-11-04 14:16:32 -05:00
Jose Diaz-Gonzalez 110d509db1 Merge pull request #9246 from dokku/chore/bump-procfile-util-0.20.9 2026-11-03 14:01:02 -05:00
Jose Diaz-Gonzalez da5b762a25 Merge pull request #9249 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.107.1 2026-11-03 14:00:52 -05:00
Jose Diaz-Gonzalez d187dbe5fd Merge pull request #9248 from dokku/dependabot/pip/docs/_build/watchdog-7.0.0 2026-11-03 14:00:43 -05:00
Jose Diaz-Gonzalez ad3d157dc8 Merge pull request #9247 from dokku/chore/bump-docker-container-healthchecker-0.16.1 2026-11-03 14:00:33 -05:00
Jose Diaz-Gonzalez b44910900b Merge pull request #9245 from dokku/chore/bump-herokuish-0.11.24 2026-11-03 14:00:24 -05:00
Jose Diaz-Gonzalez 59594937f9 feat: split stack property into per-builder properties
The `stack` property lived on the `buildpacks` plugin but was shared by both the herokuish and pack builders, so a value valid for one builder broke the other. Each builder now owns its own `stack` property managed via `builder-herokuish:set` and `builder-pack:set`, while `buildpacks:set-property stack` is deprecated and forwards the value to the builder detected from it; existing values migrate automatically on upgrade and changing a builder's stack clears that builder's cache.
2026-11-02 16:48:11 -05:00
Jose Diaz-Gonzalez 5ef061d3d2 Merge pull request #9241 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-e54ace20ef
chore(deps): bump k8s.io/kubectl in /plugins/scheduler-k3s
2026-11-02 16:32:05 -05:00
Jose Diaz-Gonzalez 10c87ee8a6 Merge pull request #9243 from dokku/group-kubernetes-dependabot-updates
fix: keep kubernetes updates out of plugins group
2026-11-02 16:24:03 -05:00
Jose Diaz-Gonzalez 1d80819357 fix: keep kubernetes updates out of plugins group 2026-11-02 16:00:49 -05:00
Jose Diaz-Gonzalez 2737b12d94 Merge pull request #9083 from dokku/8974-caddy-vhosts-requests-are-routed-before-healthchecks-pass-on-docker-local-contrary-to-docs
Add proxy health checks from app.json readiness
2026-11-02 15:58:56 -05:00
Jose Diaz-Gonzalez 76ac54fd28 Merge pull request #9240 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-fa444556ec
chore(deps): bump k8s.io/client-go in /plugins/scheduler-k3s
2026-11-02 15:37:44 -05:00
Jose Diaz-Gonzalez 35337cc518 Merge branch 'master' into dependabot/go_modules/plugins/scheduler-k3s/go_modules-fa444556ec 2026-11-02 15:37:02 -05:00
Jose Diaz-Gonzalez 9f44854639 Merge pull request #9239 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-713754c796
chore(deps): bump k8s.io/apimachinery in /plugins/scheduler-k3s
2026-11-02 15:36:22 -05:00
Jose Diaz-Gonzalez cfe8dae9fd Merge pull request #9237 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-a2f6dd6e50
chore(deps): bump github.com/traefik/traefik/v2 in /plugins/scheduler-k3s
2026-11-02 15:36:15 -05:00
Jose Diaz-Gonzalez f8705db525 Merge pull request #9236 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.107.0
chore(deps): bump sass from 1.106.1 to 1.107.0 in /tests/apps/multi
2026-11-02 15:36:04 -05:00
Jose Diaz-Gonzalez 149f0e73ea Merge pull request #9235 from dokku/dependabot/docker/plugins/haproxy-vhosts/byjg/easy-haproxy-6.5.2
chore(deps): bump byjg/easy-haproxy from 6.5.1 to 6.5.2 in /plugins/haproxy-vhosts
2026-11-02 15:33:49 -05:00
Jose Diaz-Gonzalez 5316dc86f4 Merge pull request #9234 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.61.0-debian
chore(deps): bump timberio/vector from 0.60.0-debian to 0.61.0-debian in /plugins/logs
2026-11-02 15:33:36 -05:00
Jose Diaz-Gonzalez 95d808356b Merge pull request #9233 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-300
chore(deps-dev): bump heroku/heroku-buildpack-php from 299 to 300 in /tests/apps/php
2026-11-02 15:33:23 -05:00
Jose Diaz-Gonzalez 1086de5aae test: read caddy config without exec in the container 2026-11-02 00:33:35 -05:00
Jose Diaz-Gonzalez fba0681e5b fix: avoid glob expansion of app domains
A catch-all `*` domain or a wildcard ssl hostname could be expanded into file names from the current directory when generating app urls, healthcheck `Host` headers, or the nginx ssl server names.
2026-11-02 00:33:35 -05:00
Jose Diaz-Gonzalez 06f80b1a93 fix: map caddy healthcheck headers and apply tls-internal
Caddy healthchecks now honor the `attempts` and `httpHeaders` properties of the `app.json` readiness healthcheck, matching openresty. The `tls-internal` property was also never applied to app containers, and now takes effect for apps served over https.
2026-11-02 00:33:35 -05:00
Jose Diaz-Gonzalez 83c9c4d72e fix: add proxy health checks from app.json readiness
The caddy, haproxy, openresty, and traefik docs stated that requests are only routed to containers passing healthchecks, but these proxies route to a new container as soon as it starts. The first `web` readiness healthcheck in `app.json` is now also turned into health checks and retries for caddy and openresty, as it already was for traefik, so requests are routed away from containers that are not yet ready, and the docs now describe how each proxy actually behaves.
2026-11-02 00:33:35 -05:00
Jose Diaz-Gonzalez 1910c3fb68 Merge pull request #9103 from dokku/9034-failed-ps-rebuild-leaves-old-container-serving-but-app-image-later-disappears
Keep previous image restartable after failed deploy
2026-11-02 00:31:58 -05:00
Jose Diaz-Gonzalez 81bab490ab Merge pull request #9232 from dokku/chore/bump-herokuish-0.11.23
chore: bump herokuish to 0.11.23
2026-10-31 14:42:16 -04:00
Jose Diaz-Gonzalez f29fdae409 fix: keep previous image restartable after failed deploy
When a deploy failed, the old containers kept serving while `dokku/<app>:latest` still pointed at the failed image, so `ps:restart`, `ps:start`, and `ps:restore` would redeploy the broken release or fail with `App image not found` once that image was retired. The running image is now kept available during a build and deploy, the `latest` tag is restored to it when the build, release, or deploy fails, and `ps:retire` no longer removes the image an app's `latest` tag points at. Failed containers are also now registered for retirement under the correct app so they and their images are cleaned up.
2026-10-30 18:00:05 -04:00
Jose Diaz-Gonzalez 0e1b8b4793 Merge pull request #9219 from dokku/improved-installer-script
Modernize bootstrap script output
2026-10-30 17:56:24 -04:00
Jose Diaz-Gonzalez a3c31275a2 Merge pull request #9227 from dokku/datastore-plugin
Ship every datastore as a core datastore plugin
2026-10-30 17:56:11 -04:00
Jose Diaz-Gonzalez 04d3673371 Merge pull request #9229 from dokku/chore/bump-herokuish-0.11.22
chore: bump herokuish to 0.11.22
2026-10-30 17:55:23 -04:00
Jose Diaz-Gonzalez 8d7c28c09e Merge pull request #9231 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-189e338775
chore(deps): bump k8s.io/kubernetes in /plugins/scheduler-k3s
2026-10-30 17:54:55 -04:00
Jose Diaz-Gonzalez 5b29a11164 Merge pull request #9230 from dokku/dependabot/go_modules/tests/apps/gogrpc/google.golang.org/grpc-1.85.0
chore(deps): bump google.golang.org/grpc from 1.84.0 to 1.85.0 in /tests/apps/gogrpc
2026-10-30 17:54:44 -04:00
Jose Diaz-Gonzalez 0728d3ebfe chore: require dokku-datastore v0.11.0 2026-10-29 22:33:42 -04:00
Jose Diaz-Gonzalez 8f11b7900a Merge pull request #9225 from dokku/9224-add-a-way-to-rebuild-an-app-without-build-cache-on-demand
Add --no-cache flag to ps:rebuild
2026-10-29 21:05:57 -04:00
Jose Diaz-Gonzalez d9ad3392af chore: update markdownlint-cli to 0.50.0
The table column style rule added since 0.35.0 is disabled, since the docs pad tables loosely rather than aligning every pipe, and the docs are updated for the other rules it now enforces.
2026-10-29 20:35:36 -04:00
Jose Diaz-Gonzalez 68e5757590 feat: ship every datastore as a core datastore plugin
Adds a `datastore` core plugin that serves every official datastore under one command, with the datastore type as the first argument, as in `dokku datastore:create postgres lollipop`. It is built on the dokku-datastore sdk, and leaves a datastore to its official plugin while that plugin is enabled.
2026-10-29 20:32:20 -04:00
Jose Diaz-Gonzalez d98761fe9a test: match pack cache-clear output 2026-10-29 18:53:08 -04:00
Jose Diaz-Gonzalez 32d8360ad3 test: assert uncached build steps rerun 2026-10-29 15:47:06 -04:00
Jose Diaz-Gonzalez 029de94cc6 Merge pull request #9223 from dokku/9222-network-set-attach-post-create-only-attaches-the-first-network
Attach every network in attach-post-create
2026-10-29 15:46:15 -04:00
Jose Diaz-Gonzalez f3b21babcc feat: add --no-cache flag to ps:rebuild
The `ps:rebuild` command now accepts `--no-cache` to perform a single uncached build regardless of builder, without persisting any setting for later deploys. The railpack builder now also honors `--no-cache` when set via `docker-options`, and build records are now correctly attributed when flags precede the app name.
2026-10-29 14:25:51 -04:00
Jose Diaz-Gonzalez fe0f024208 fix: attach every network in attach-post-create
Setting multiple networks for the `attach-post-create` network property only connected new app containers to the first network in the list. All specified networks are now attached, matching the existing `attach-post-deploy` behavior.
2026-10-29 12:25:14 -04:00
Jose Diaz-Gonzalez 7e1fd07102 Merge pull request #9220 from dokku/chore/bump-dokku-update-0.11.0
chore: bump dokku-update to 0.11.0
2026-10-29 12:00:52 -04:00
Jose Diaz-Gonzalez df08c00e2f Merge pull request #9221 from fatihesergg/fix/install-wget-dependency
Add missing wget dependency to Makefile
2026-10-29 12:00:44 -04:00
Jose Diaz-Gonzalez fe155f6fc9 feat: modernize bootstrap script output
The bootstrap script now shows each install step in the style of Dokku's log output, with a live view of the running step when run in a terminal, per-step timings, a timestamped log file under `/var/log/dokku`, and a summary at the end. A failed step prints its full output. After installing, it adds root's SSH keys and sets the server's IP as the global domain when those are not already configured. `DOKKU_VERBOSE=1` streams all command output, and `NO_COLOR=1` disables colors.
2026-10-28 23:44:38 -04:00