Deploying CommandBox
CommandBox may also be used in production deployments, since it allows you to orchestrate your server environment. This eliminates dependency on hardware, and makes your CFML applications more portable, as a whole. For advanced server configurations, be sure to check out the CFConfig
module.
Since the startup of a CommandBox server allows you specify a host and server port, you can easily bind your server to a machine IP address and specify which port it should serve the application on. This allows you to proxy traffic to the application from IIS, Apache, or NGINX and even allows you to serve traffic directly on HTTP port 80 or 443, if you choose.
Container-based deployments are also supported, with official Docker Images and a buildpack for Heroku/Dokku.
![](https://commandbox.ortusbooks.com/~gitbook/image?url=https%3A%2F%2F2319341577-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgSATvnFPNJsMNSgJjvVA%252Fuploads%252Fgit-blob-676bfb03063f8a2873a38cd02ff66bb932cc6333%252Fdocker.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=9bb31500&sv=1)
![](https://commandbox.ortusbooks.com/~gitbook/image?url=https%3A%2F%2F2319341577-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgSATvnFPNJsMNSgJjvVA%252Fuploads%252Fgit-blob-f9d9c8b24a8efce8b8d229e0a3d45f9bb0486cc7%252Fheroku.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=a0f85a74&sv=1)
![](https://commandbox.ortusbooks.com/~gitbook/image?url=https%3A%2F%2F2319341577-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgSATvnFPNJsMNSgJjvVA%252Fuploads%252Fgit-blob-378946be7742edff386d41583da5769659d07177%252Fimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=7684bfca&sv=1)
Last updated