How can I get information about a license from within an application container?

If your application containers need to query information about the license, you can use the Integration API that’s available on prem. The base URL of the api is injected into each container’s environment as REPLICATED_INTEGRATIONAPI.

For the native scheduler, the base endpoint of the api is automatically injected into each container’s environment as REPLICATED_INTEGRATIONAPI

For the kubernetes scheduler or docker swarm scheduler, manual injection is necessary. Take a look at this community post for information and examples on how to properly use the Replicated Integration API in your Kubernetes or Swarm application.