Expose external ports to application configuration.

Fixes #200.
This markup is a little confusing.