[ci skip] clarify how we get ports when deploying an arbitrary image

This commit is contained in:
Michael Hobbs
2016-05-06 11:45:55 -07:00
parent d7386317fc
commit 2da4f5ef03

View File

@@ -84,6 +84,9 @@ You can alternatively add image pulled from a docker Registry and deploy app fro
dokku tags:deploy test-app v12 dokku tags:deploy test-app v12
``` ```
> Note: When deploying an image, we will use `docker inspect` to extract the `ExposedPorts` configuration and if defined, use that to populate `DOKKU_DOCKERFILE_PORTS`. If this behavior is not desired, you can override that configuration variable with the `config:set` command.
> Example: `dokku config:set test-app DOKKU_DOCKERFILE_PORTS="5984/tcp 80/tcp"`
## Deploying an image from CI ## Deploying an image from CI
To ensure your builds are always reproducible, it's considered bad practice to store build To ensure your builds are always reproducible, it's considered bad practice to store build