doc: clarify httpPort

This commit is contained in:
Girish Ramakrishnan
2017-01-09 09:01:13 -08:00
parent 2a86216a4a
commit 3c55ba1ea9

View File

@@ -186,9 +186,10 @@ Type: positive integer
Required: yes Required: yes
The `httpPort` field contains the TCP port on which your app is listening for HTTP requests. This port The `httpPort` field contains the TCP port on which your app is listening for HTTP requests. This
is exposed to the world via subdomain/location that the user chooses at installation time. While not is the HTTP port the Cloudron will use to access your app internally.
required, it is good practice to mark this port as `EXPOSE` in the Dockerfile.
While not required, it is good practice to mark this port as `EXPOSE` in the Dockerfile.
Cloudron Apps are containerized and thus two applications can listen on the same port. In reality, Cloudron Apps are containerized and thus two applications can listen on the same port. In reality,
they are in different network namespaces and do not conflict with each other. they are in different network namespaces and do not conflict with each other.