Convox Community

Configure/scale service cpu/memory differently between racks

Hello,

I want to change my services memory/cpu allocation between racks (i.e staging and prod). I have tried scaling like so:

convox scale backend --cpu=1024

But this doesn’t change the output when I run convox scale.

I have also tried setting environment variables and using them in the convox.yml like so, but with no success.

...
environment:
  FRONTEND_CPU=256
  FRONTEND_MEMORY=256
...
    scale:
      cpu: ${FAKTORY_CPU}
      memory: ${FAKTORY_MEMORY}

Is there a way to have different memory/cpu scaling between racks?