I would like to set something in my compute environment that is then accessible when I use that environment for a run or a workspace?
You can either set it using the docker ENV instruction or write to the .domino-defaults file as show here.
Note that if you just want something like a personal environment variable, and don't need it to necessary be set in the compute environment, you can use our instructions for setting environment variables at the project or user level:
Customer Success Engineer @ Domino
Is there a difference between using the docker ENV instruction and declaring an ARG with the environment variables section of the compute environment?