Expose external ports to application configuration.

Fixes #200.
exposed