Implemented support for custom domain.

Now you can configure a custom domain which is used to replace the public URL of the container.