mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 05:05:46 +02:00
2.8 KiB
2.8 KiB
0.31.0 Migration Guide
Changes
- Herokuish build cache is now mounted from a docker volume - eg.
cache-node-js-app- instead of the local filesystem. All existing app cache will be cleared upon upgrading past 0.29.0. - The
vectorcontainer integration now mounts config to/etc/vectorinstead of the path/etc/vector/vector.json, allowing users the ability to provide extra configuration for Vector Sinks. To take advantage of the new functionality, the vector container should be stopped (viadokku logs:vector-stop) and then started (viadokku logs:vector-start). - The
traefikintegration now mounts config to/datainstead of the path/acme.json, fixing permissions issues under certain architectures. To take advantage of the new functionality, the traefik container should be stopped (viadokku traefik:stop) and then started (viadokku traefik:start). - Users no longer need to clear the
source-imagegit property when transitioning from image-based deploys (git:from-imageandgit:load-image) to other deployment methods (git push,git:from-archive,git:sync). - For deploys via the
git:from-imageandgit:load-imagecommands, theCHECKSfile is now extracted from the configuredWORKDIRproperty of the image. For all other deploys - git push,git:from-archive,git:sync- will have theCHECKSextracted directly from the source code. The filename in both cases isCHECKSand cannot be modified. - The environment variable
DOKKU_PROXY_PORT_MAPhas been migrated to the properties system. Direct changes to the value will be ignored, and users should interact with port maps via theportsplugin.
Deprecations
- The
proxy:ports*commands have been replaced with the newportsplugin. Users will be able to use the oldproxy:ports*commands for a single minor release, and they will be removed in the next minor release. - The
common#get_app_raw_tcp_ports()function has been deprecated and will be removed in the next release. Users should avoid interacting with this function for dockerfile ports and instead use theports-getplugin trigger for fetching ports for an app. - The
common#get_available_port()function has been deprecated and will be removed in the next release. Users should avoid interacting with this function and instead use theports-get-availableplugin trigger for fetching an available port. - The
proxy-configure-portsplugin trigger has been deprecated and will be removed in the next release. Users should instead trigger theports-configureplugin trigger.
Un-Deprecations
- The bare
appsandconfigcli aliases are no longer deprecated. This better follows Heroku's output and is more useful to users. The subcommands will be treated as the primary, documented versions, while the aliases are there for convenience.