


Hi, can anyone demonstrate the use of env variable in cfg.json file by how can we change the value according to the different variables.
with an example ,I have gone through the documentation but not able to follow up
Views
Replies
Sign in to like this content
Total Likes
Please check https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploy...
Environment-specific values, which are values that vary between Development environments, and thus cannot be accurately targeted by run mode (since there is a single dev runmode in Adobe Experience Manager as a Cloud Service). For example:
{ "url": "$[env:server-url]" }
Note that a single OSGi configuration file can use any combination of these configuration value types in conjunction. For example:
{ "connection.timeout": 1000, "api-key": "$[secret:server-api-key]", "url": "$[env:server-url]" }
Please check https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploy...
Environment-specific values, which are values that vary between Development environments, and thus cannot be accurately targeted by run mode (since there is a single dev runmode in Adobe Experience Manager as a Cloud Service). For example:
{ "url": "$[env:server-url]" }
Note that a single OSGi configuration file can use any combination of these configuration value types in conjunction. For example:
{ "connection.timeout": 1000, "api-key": "$[secret:server-api-key]", "url": "$[env:server-url]" }