0.6.0 Migration Guide
Zero-downtime deployment
- You can now actually disable zero-downtime deployments per-app and per-process-type
- Some config variables have been moved around
DOKKU_CHECKS_ENABLEDhas been migrated toDOKKU_CHECKS_SKIPPEDDOKKU_CHECKS_DISABLEDis now a thing- The values for the above can be a comma-separated list of process-types or the literal string
_all_
- See the updated
checksdocs for more info
Proxy port mapping
- You can now configure host -> container proxy port mappings
- The UI is handled by the proxy interface plugin by setting the
DOKKU_PROXY_PORT_MAPconfig variable in the format ofscheme:host-port:container-port. The defaultnginx-vhostsproxy plugin supports both thehttpandhttpsschemes. - Default port mappings
- buildpack apps will be set to
http:80:5000and will also includehttps:443:5000if SSL is enabled. - dockerfile apps with explicitly exposed ports (i.e. using the
EXPOSEdirective) will be configured with a listener on each exposed port that proxies to the same port of the deployed application container.- You may override this behavior with the
proxy:ports-*commands or by directly settingDOKKU_PROXY_PORT_MAPwith theconfig:setcommand - dockerfile apps without explicitly exposed ports will behave the same as a buildpack app
- You may override this behavior with the
- NOTE: These defaults are not automatically changed on subsequent pushes and must be manipulated with the aforementioned commands
Calling the dokku binary
- Plugins should not call the
dokkubinary directly. Clients using the--appargument are potentially broken, amongst others, when doing so. Instead, please source thefunctionsfile for a given plugin when attempting to call Dokku internal functions. As a result, the following Dokku commands are no longer publicly exposed: dokku builddokku receivedokku releasedokku tar:builddokku tar:build-lockeddokku git:builddokku git:build-locked