How to set environment variables in cloudcontrol?

I am switching from Heroku to cloudcontrol, and I cannot find documentation on how to set server environment variables. How is this possible?

+4
source share
1 answer

There is a configuration addon for cctrlapp .

The following code should do this: cctrlapp app_name/dep_name addon.add config.free --APPLICATION_ENV=value

Can this help?

Change Here is the link to the addon documentation: https://www.cloudcontrol.com/dev-center/Add-on%20Documentation/Deployment/Custom%20Config

Edit: As in cctrl 1.8.1, you can add configuration variables this way:

 $ cctrlapp app_name/dep_name config.add PARAM1=VALUE1 PARAM2=VALUE2 [...] 

and delete them using:

 $ cctrlapp app_name/dep_name config.remove PARAM1 PARAM2 [...] 
+9
source

All Articles