I’m not sure if its fully supported, docs are confusing, but it seems like when running a one-off command on a local rack it does not include the env vars.
Or rather, it seems to get env vars as long as they are not defined on the service.
With a convox.yml like this:
services:
abc:
image: nginx
environment:
- A=
- B=b
convox apps create
convox env set A=a B=bb C=c
convox run abc --release `convox build --id` -- env
Notice how the environment has
A=
B=b
C=c
I expected that they would be what was set before:
A=a
B=bb
# no C as it was not specified in the service whitelist.