The following environment variables are set as part of the application runtime.
CLOUDRON is always set to '1'. This is useful to write Cloudron specific code.
CLOUDRON_API_ORIGIN is set to the HTTP(S) origin of this Cloudron's API. For example,
CLOUDRON_APP_DOMAIN is set to the domain name of the application. For example,
CLOUDRON_APP_ORIGIN is set to the HTTP(S) origin on the application. This is origin which the
user can use to reach the application. For example,
The IP address of the Cloudron reverse proxy. Apps can trust the HTTP headers (like
for requests originating from this IP address.
CLOUDRON_WEBADMIN_ORIGIN is set to the HTTP(S) origin of the Cloudron's dashboard. For example,